I am changing the domain name of the site. For a period of time, I want the old domain name and the new domain name to point to the site. I am running a Django site in Python.
My original Apache2 conf works fine, and the foundation is:
<VirtualHost *:80> ServerAdmin name@gmail.com ServerName originalsite.co.uk ServerAlias www.originalsite.co.uk DocumentRoot /var/www/originalsite WSGIDaemonProcess originalsite python-path=/var/www/originalsite:/var/www/originalsite/env/lib/python2.7/site-packages WSGIProcessGroup originalsite WSGIScriptAlias / /var/www/originalsite/originalsite/wsgi.py ... </VirtualHost>
I installed a new conf file with only such changes:
ServerName newsite.co.uk ServerAlias www.newsite.co.uk
And I get the following error:
The name duplicates the previous definition of the WSGI daemon.
How to fix it? Thank you for your help.
source share