Report this

What is the reason for this report?

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

Posted on January 30, 2017

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.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.