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?
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.
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.
Click below to sign up and get $200 of credit to try our products over 60 days!