I have a development setup of subdomains with apache/wamp, everything is working as I need with the "regular" setup and separately with the "xyz" setup, but I have to change the configuration and restart the server everytime I need a different setup.
Is there a way to have both setups working at the same time?
I'm looking for answer that allows me to access both setups at the same time without changing the urls or ports I use to access them.
this is my regular setup
<VirtualHost *:9090>
ServerName localhost.com
ServerAlias *.localhost.com
VirtualDocumentRoot u:\wamp\www\subdomains\%1
<directory "u:\wamp\www\subdomains\%1">
Options Indexes FollowSymLinks
AllowOverride all
Order Deny,Allow
Deny from all
Allow from all
</directory>
</VirtualHost>
This is my secondary (xyz) setup
<VirtualHost *:9090>
ServerName localhost.com
ServerAlias *.xyz.localhost.com
VirtualDocumentRoot u:\wamp\www\subdomains\xyz
<directory "u:\wamp\www\subdomains\xyz">
Options Indexes FollowSymLinks
AllowOverride all
Order Deny,Allow
Deny from all
Allow from all
</directory>
</VirtualHost>