Question

not found(deploying via digitaloccean, nginx, ubuntu)

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!!!

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.

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?

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.