By pr8448
I’m a bit of an amateur at websites so I used DigitalOcean’s One-Click App for Django. I got everything working and decided to create a new user and give them ownership (as per this tutorial: https://www.digitalocean.com/community/tutorials/initial-server-setup-with-ubuntu-18-04) of the /home/ folder.
Since then I’m getting a 502 Bad Gateway when I try to connect to the website. From the reading I’ve done, I’m pretty sure that it’s something to do with gunicorn, but I seem to have messed it up badly.
How can I debug this problem and get my website back up and running?
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.
Hi @pr8448,
I’ll recommend you to check your error log. In the error log you’ll see the exact error and can further act upon it.
If you are uncertain what the error means, please post it here and we’ll try to pinpoint the exact issue.
Regards, KFSys
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.
