Question

Internal Server Error when i try to access my ip

  • Posted October 30, 2019
  • Nginx

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

Subscribe
Share

Submit an 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.

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