Question

Internal Server Error when i try to access my ip

I am new to cloud hosting but i have been able to launch my django project which works well however i woke to the surprise that my ip address no longer works, it just shows 404 Not Found nginx/1.14.0 (Ubuntu) and the domain linked to the ip now shows internal server error. I have checked my droplet and it seems just fine; i have no clue why this happened. Any help will be appreciated. Thanks


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.

I fixed the 404 page but now i get 502 Bad Gateway, i think it has to do with Active: failed (Result: service-start-limit-hit)

Hello,

I would recommend starting with your Nginx error log first. This would give you more information about what could be wrong. You could check the last 100 lines in your error log with the following command:

tail -100 /var/log/nginx/error.log

If you are unsure, you could share the errors here and I could try to advise you further.

Hope that this helps! Regards, Bobby