IP Adres to DNS name

All about webserver configurations, PHP and databases.

Moderator: Thorsten

Post Reply
Jaspers05
Posts: 11
Joined: Mon Aug 11, 2014 11:11 am

IP Adres to DNS name

Post by Jaspers05 »

Hi all,

So this is what happend. I installed my phpMyFAQ on a Ubuntu Server 14. We entirly configured and filled the FAQ by connecting on the IP address of the server. Now we want to change the IP address and link it to a DNS name, but now my entire phpMyFAQ is not functioning any more.

Can anybody help me with this?
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: IP Adres to DNS name

Post by Thorsten »

Hi,

just change the URL in the database table "faqconfig" for the config key "main.referenceURL" to the new domain name.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Jaspers05
Posts: 11
Joined: Mon Aug 11, 2014 11:11 am

Re: IP Adres to DNS name

Post by Jaspers05 »

Thank you for the push in the right direction.

For everyone else, this i what i did on my ubuntu server terminal:
mysql -u root -p
SHOW databases;
USE databasename;
SELECT * FROM faqconfig;
UPDATE faqconfig SET config_value='http://phpmyfaq.mydomain.com' WHERE config_value='http://ipaddressofmyserver';
Post Reply