I've got a django app that's currently available at dev.mydomain.com
, and I'm about to move it to clientsdomain.com
. I'm on Ubuntu so I'll run 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 that's not my ip address)
I just want to know if I actually have to take down the dev vhost before I run my app from the live vhost. Can I run them both together? Are there any risks to having them up at the same time (if that's even possible).