Quote:
|
Originally Posted by evulish
I have mine set up as follows:
Code:
NameVirtualHost *
<VirtualHost *>
ServerName www.mehh.net
DocumentRoot /web
</VirtualHost *>
<VirtualHost *>
ServerName amy.mehh.net
DocumentRoot /home/amy/public_html
</VirtualHost>
Which works just fine for me.
|
It is important to use the * instead of 0.0.0.0. This allows apache to use the name instead of the IP address and since you don't have the ip address of 0.0.0.0 then that is why it is giving you some grief. You can PM if you have any problems. I had to fight with my apache directives a little until it worked just right.
Also in the ServerAlias section only have the *.hollandalternativehsfirstrobotics.us