I'm trying to create a new virtual host where any subdomain will point to the document root.
It needs to be a wild card as new subdomains will be added progmatically.
What I have so far in my vhost config (relevant part):
<VirtualHost *:80>
DocumentRoot "C:/xampp/htdocs/test"
ServerName test.dev
ServerAlias *.test.dev
</VirtualHost>
Windows hosts:
127.0.0.1 *.test.dev
I'm only able to access test.dev but not a subdomain of it.