Domain name keep redirection to Ip Address

August 14, 2017 185 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
jasonjpeters August 16, 2017
Accepted Answer

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.