Redirected to IP when visiting domain, using Digitalocean Django One-Click installer

Posted June 18, 2014 2.2k views
Hi, I've made no changes to the Nginx and Gunicorn setup on my one-click install image. Having bought a domain and used the Digitalocean DNS panel to point to the server's IP, the website I smashed together is viewable, but the URL bar will only report the IP, not the domain name. Visiting the domain name redirects to the IP. Is this a setting I've missed on the DNS configuration, or more likely a problem with the Nginx setup? Any advice appreciated!

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.

Submit an Answer
1 answer
Hi Keith! I can't reproduce that here. Could you share your DNS configuration? It might help us get to the bottom of this. Did you make and changes to the Nginx setup?