How to display Domain Name instead of IP Address?
I have a droplet with wordpress running for the domain:
ip address: http://126.96.36.199/
My Zone file:
randroots.com. IN SOA ns1.digitalocean.com. hostmaster.randroots.com. 1423320920 10800 3600 604800 1800
randroots.com. 1800 IN NS ns1.digitalocean.com.
randroots.com. 1800 IN NS ns2.digitalocean.com.
randroots.com. 1800 IN NS ns3.digitalocean.com.
randroots.com. 1800 IN A 188.8.131.52
randroots.com. 1800 IN AAAA 2604:a880:800:10::1
www.randroots.com. 1800 IN CNAME randroots.com.
*.randroots.com. 1800 IN CNAME www.randroots.com.
beta.randroots.com. 1800 IN A 184.108.40.206
I've read through many tutorials but have been unable to resolve the issue myself.
When I change the settings within wordpress for Site/Home URL I'm no longer able to to login to my site. I believe I may need to make further changes under mysql and php admin?
I've also seen some suggestions regarding needing to add a server alias to Apache?
Is there any additional info I need to provide?
Can someone please describe the proper process to go through in detail?
I know I've seen a lot of people with this very issue, it may prevent the question from being asked a lot if a definitive guide could be posted.