client is automatically redirected to localhost
-
I’m running Ubuntu Fiesty with Apache, Mysql and Php.
All pages are OK from the server himself as from le local network as from Internet… all pages except WordPress ;-(WordPress only works on the server itself.
If I try to access https://localIPaddress on a local network client, the browser search and is finally redirected on https://loclahost!!!I’ve spent the week fixing this issue with no success.
As my DB_HOST is localhost I think I dont have to change this parameter in wp-config.php, but I tried it and when I change it with the name of my server (in hostname and hosts files) I can have the wordpress db connexion error to be loaded.
Conclusion, wordpress is accessible and mysql hostname is localhost.
So why does it redirect client on localhost?I think I do not exactly understand the usage of the WordPress Address field in Options>General control panel too.
I’ve no real domain name but only a free DNS redirect at no-ip.com
Thanx for your help before I loose my mind.
- The topic ‘client is automatically redirected to localhost’ is closed to new replies.