Currently, I have a single production website running on Apache/2.2.3. I use mod_rewrite extensively and have about 200 RewriteRule's.
Now I need to add another website from a second domain name to the server, and I'd like to use virtual hosts to do that. It's 2 sites, 2 domain names, one webserver.
The existing site is running perfectly, and I don't want to disturb it if I don't have to.
Do I need to move the existing website into a
<virtualhost> container? Or is there any way to create a new virtual site for the new domain, and leave the existing as is?
If I do need to move the old site, do I have to move all the redirects and the whole
<Directory "/var/www/html"> section into the virtual host container ?