Can not see my Django website on browser on running it from Digital Ocean VPS

November 24, 2015 792 views
Deployment DigitalOcean Django Nginx Firewall

I have successfully set up my Digital Ocean VPS and deployed my Django website on the same.But when I run the project in my local system using python's runserver python runserver command, it works pretty well and I am able to see the site on browser on localhost. But when I do the same thing from DigitalOcean's Ubuntu 14.04 x64 VPS, it runs fine without any error but the site do not loads on the browser of my system. Same is the case if I run the project using nginx and gunicorn. Can any one please help me solving this issue?

1 Answer


Is this the same site where you followed the guide located here? If anything differs, please post additional details about your configuration and deployment.

by Stephen Tippets
Here you'll learn how to deploy a local Django app to a VPS.
  • Hi @jtittle ,

    Yes I followed the same. But in order to go step by step firstly I am just trying to load my website on localhost in my browser by running the project using runserver command on production server. Once it goes well, I will move forward to try to run the project using nginx and gunicorn (Though setup for both is ready as per the guide you mentioned in your comment).

Have another answer? Share your knowledge.