Wildcards in Virtual Host
I use wildcards in my DNS to allow sub domains, so request to:
mysite.com
office.mysite.com
will both point to my server.
I would like to add a wildcard in the virtual host so that if a request to:
error.mysite.com
was entered it would still point to the correct virtual domain, as opposed to the ip of my server.
I have tried adding a host definition to:
*.mysite.com
but it didnt work, unless you entered *.mysite.com as the URL.
Is there a way to use wildcards in the virtual host, or do they have to be absolute?
|