Report this

What is the reason for this report?

How come going to my domain redirects to my ip address?

Posted on May 3, 2017

I installed Wordpress onto Ubuntu 16.04, and have connected the name servers to name cheap and everything, which all seems to be done correctly. Whenever I connect to my website, it redirects to the IP address. What should I do to fix this?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi @theisevan

You probably setup WordPress on the IP-address before you added the domain, which means WordPress will save that IP as the root configuration.

You can go to http://162.243.40.146/wp-admin/options-general.php and edit both WordPress Address (URL) and Site Address (URL) to http://www.evansdetailing.com

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.