Asking information about django hosting ubuntu

Posted July 3, 2020 2.6k views

I am getting loading page after hosting django app on ubuntu 20.04
i got this error
Gateway Timeout
The gateway did not receive a timely response from the upstream server or application.

Apache/2.4.41 (Ubuntu) Server at Port 80

if you want the commond sequence then i can show you

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.

Submit an Answer
1 answer

Hi there @akshaykoshti401,

I would recommend following the steps from this tutorial here on how to deploy Django on Ubuntu 20.04:

It shows how to do this with Nginx rather than Apache.

If you prefer apache, I would recommend this tutorial here instead:

Hope that this helps!

by Justin Ellingwood
Django is a powerful web framework that can help you get your Python application or website off the ground quickly. Django includes a simplified development server for testing your code locally, but for anything even slightly production related, a more secure and powerful web...