1

I am stuck on this step:

i have a page, which i am developing in django. the page is ready to test. i deployed it. running well and it is online. but now i want to setup a new project in server as the testing version of what is online now. I went to control panel of my hosting provider and saw that once i created the django project first, it also created a new dev.mypage.com. But i cannot find this in my server. i dont know how to setup a new dev project in server so that i can develop locally, push to test project and test online and then go live.

please help

doniyor
  • 36,596
  • 57
  • 175
  • 260
  • So you basically want to host multiple django servers on the same virtual machine ? – karthikr Jun 11 '13 at 19:52
  • @karthikr, honestly i dont have experience with virtual machines. I have a django hosting service from provider and they provide me django installation on server so that i can run my django wegpage. they set production one in lighttpd and development one in development server. what i want to know is how to set thet dev server and get my development proj running – doniyor Jun 11 '13 at 19:56
  • You can install nginx, and have that point to 2 different servers. There is lots of information available online – karthikr Jun 11 '13 at 19:58

1 Answers1

1

You may like to use nginx + gunicorn (http://docs.gunicorn.org/en/latest/run.html). Also, http://senko.net/en/django-nginx-gunicorn/ is useful.

shantanoo
  • 3,617
  • 1
  • 24
  • 37