Question
domain name redirecting, but changes to IP address
When I am typing my domain name in the browser, it redirects to my server. Also, loads the page. But, in the browser, the domain name changes to the IP address of the server. I want it to show the domain name.
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.
×
Are you using a CMS like WordPress on your droplet? The behavior you are describing sounds like a rewrite/redirect that on platforms like WordPress usually means that you havent set up the default site URL to be something other than the IP.