How Do i set up Domain Wildcard for Mass Virtual with APACHE

I have Bind set all up and I have set the Zone like this
* IN A 123.123.123.123
It works and everything. Then I Link the Folder to the user’s directory.
Like this *.domain.com but it does not work.
I use this configuration in the httpd.conf

<VirtualHost 123.123.123.123:80>
VirtualDocumentRoot /var/www/hosts/%0/
</VirtualHost>

Apache just gives me an 404 File Not found whenever I put in *.domain.com in my Internet Browser

(123.123.123.123 is just an example of an IP)

If someone could boost me in the right dorecton i would greatly appreciate.

Thank you

- Brad

 

 

 

 

Top