[Answered ]-Django alongside existing website possible?

2👍

Yes this is possible, it depends entirely on the webserver you are going to use so I can’t give you a general tutorial.

Using the currently documented method of deploying Django with mod_wsgi (personally I’d recommend using Gunicorn with Nginx) you can follow this tutorial:

https://docs.djangoproject.com/en/1.7/howto/deployment/wsgi/modwsgi/

The only change you are going to have to make is the WSGIScriptAlias /... line:

In your case it would be something like this:

WSGIScriptAlias /django/ /path/to/mysite.com/mysite/wsgi.py
👤Wolph

Leave a comment