Question

Final step: domain name - nginx

I’ve uploaded my first django app to the web. I’m working with Ubuntu 16.04 because I have seen it has lots of documentation. I can see my web app when I type the IP Address of it on the web browser.

I purchased a domain name at GoDaddy, let’s call it ‘example.com’. I have already set the DigitalOcean DNS at my domain, following the instructions of this tutorial: https://www.digitalocean.com/community/tutorials/how-to-point-to-digitalocean-nameservers-from-common-domain-registrars, and have tried to link it with the IP Address.

At the end, when I type ‘example.com’ it shows me ‘Internal Server Error’, unlike the IP Address which works perfectly. I tried to add the domain name at the nginx server without success. How can I link my domain name with the IP Address?

PS: I have read that most of the people link the domain name with the IP Address before configuring everything else. Should I delete my dropplet and start it over again?


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi

Can you post the Nginx configs here?

Cheers