5

Subdomains pointing to a wildcard folder

view full story
linux-howto

http://serverfault.com – I recently got my domain name working fine with my server and managed to get subdomains pointing to specific folders. However I have just noticed a little problem. I have my /etc/apache2/sites-enabled/000-default set to: <VirtualHost *:80> VirtualDocumentRoot /local/www/%1 ServerName *.dev.localhost </VirtualHost> and when I go to test.dev.mydomain.co.uk it displays the content of /local/www/test/ and that's great. However, I mistyped the domain and realise that test.mydomain.co.uk is also doing the exact same thing when you miss out the .dev.part. I don't want t (HowTos)