I have a django application currently available at dev.mydomain.com and I'm going to move it to clientsdomain.com . I'm on Ubuntu, so I ran a2dissite dev.mydomain.com and then a2ensite clientsdomain.com .
My vhost files are identical except for the server name -
<VirtualHost 8.8.8.4> ServerName dev.mydomain.com #.... </virtualHost>
and
<VirtualHost 8.8.8.4> ServerName clientdomain.com #.... </virtualHost>
(obviously not my IP address)
I just want to know if I really need to remove dev vhost before starting the application from live vhost. Can I run them together? Is there a risk of having them at the same time (if possible).
source share