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

June 18, 2014 990 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!
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?
Have another answer? Share your knowledge.