I followed the directions at https://www.digitalocean.com/community/tutorials/how-to-set-up-a-host-name-with-digitalocean for setting up a host name with digital ocean. However when I visit my domain name (www.domain.com) it opens up the website but then the ip address appears in the address bar instead of the domain name. How do I change this so only the domain name appears?
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.