Domain name keep redirection to Ip Address

August 14, 2017 2.6k views
WordPress LAMP Stack Ubuntu 16.04

I was able to setup domain name and do a wordpress installation on my ubuntu lampstack. My problem is my domain name keep redirecting to the droplet’s ip address. i don’t want the ip to show in the url but rather the domain name

2 Answers

http://www.domain.com/wp-admin > Settings > General
*If your IP address appears here, you need to update it to your domain name. *

WordPress Address (URL) – http://www.domain.com
Site Address (URL) – http://www.domain.com

This is assuming the DNS for the domain name is pointed at the droplet and entered correctly to apache.

thanks for the help, works now.

Have another answer? Share your knowledge.

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