I'm trying to get subdomains working in Apache, but it won't work for me. I've already tryed Virtualhost For Wildcard Subdomain and Static Subdomain. My code for now:
<VirtualHost *:80>
DocumentRoot /Bestanden/webserver/vandervoorden.com/other
ServerName other.vandervoorden.com
ServerAlias *.vandervoorden.com
</VirtualHost>
<VirtualHost *:80>
DocumentRoot /Bestanden/webserver/vandervoorden.com
<Directory "/Bestanden/webserver/vandervoorden.com">
allow from all
Options +Indexes
</Directory>
ServerName vandervoorden.com
</VirtualHost>
The second VHost will react on vandervoorden.com and www.vandervoorden.com, but when I browse to didntexist.vandervoorden.com I recieve a page not found.