Report this

What is the reason for this report?

not found(deploying via digitaloccean, nginx, ubuntu)

Posted on June 20, 2021

I tried to deploy the website using digitaloccean and I followed the tutorial it provided: https://www.digitalocean.com/community/tutorials/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu-20-04 Everything works fine until the step of “gunicorn --bind 0.0.0.0:8000 biostar.wsgi” There is a wsgi.py under Biostar and there are no error messages; however, when I go to the IP address, it told me not found. Does anyone know how to solve this problem? Thank you!!!



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 @coreydipsy,

You did create a reverse proxy in Nginx to port 8000 for your domain or IP address correct?

Can you please share the Nginx configuration file to see if everything is correct? Addtionally, see If opening the Application like so works:

XXX.XXX.XXX.XXX:8000

Where XXX.XXX.XXX.XXX is your Droplet’s IP address.

Hi @coreydipsy,

Looking at the provided configuration file, I can’t see the reverse proxy that has been configured.

Did you follow the whole tutorial?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.