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!
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.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.