Domain issue. The website is showing up with IP address bu not with the domain name.

January 30, 2017 2k views
Django Nginx Ubuntu 16.04

I have a website on django. I have used gunicorn and nginx for deployment. The site is showing up with IP address but with domain name i'm getting a bad request (400). I have already configured the nameservers on godaddy and A, AAAA, CNAME on Digital Ocean.

What is the problem here?

Thank You.

1 Answer

You alse have to setup your VHOST to get it listening to your domain. Edit the NGINX vhost and add the server_name

Have another answer? Share your knowledge.