How to display Domain Name instead of IP Address?
I have a droplet with wordpress running for the domain:
ip address: http://18.104.22.168/
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 22.214.171.124
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 126.96.36.199
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.
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.×