Question

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

Posted January 30, 2017 2.6k views
NginxDjangoUbuntu 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.

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.

×
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

Submit an Answer