When I use the following code:
<VirtualHost *> ServerName subone.domain.tld DocumentRoot /var/www/subdomain/subone/ </VirtualHost> <VirtualHost *> ServerName subtwo.domain.tld DocumentRoot /var/www/subdomain/subtwo/ </VirtualHost>
Every query goes to /var/www/subdomain/subone. Including: domain.tld, subone.domain.tld, subtwo.domain.tld, ...
When I add a "NameVirtualHost *" to the beginning of the file, everything goes to /var/www
What am I doing wrong?