Page 1 of 1

IP Adres to DNS name

Posted: Fri Aug 15, 2014 7:34 am
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?

Re: IP Adres to DNS name

Posted: Fri Aug 15, 2014 9:11 am
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

Re: IP Adres to DNS name

Posted: Fri Aug 15, 2014 11:55 am
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';