Question

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

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?

Subscribe
Share

Submit an 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