I have a Django site on Nginx/Ubuntu here:
I have a domain codego.co with Godaddy that I have already pointed towards the DigitalOcean name servers.
I have followed the DO tutorial for this and have setup the DNS records as follows:
in my Django sites’ settings file I have both the server ip and domain name setup in ‘Allowed hosts’ and also in the Nginx server block settings and yet Im getting a 400 bad request error at the domain…
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.