Click to See Complete Forum and Search --> : ::::<.!.> APACHE......... VirtualHost-->


Anon
03-13-2002, 03:38 AM
Hey.
I have a BIG problem...
I was trying to use VirtualHost in Apache...
<-------------------------->
NameVirtualHost wwww.something.com
<VirtualHost 127.0.0.1>
DocumentRoot F:\apachegroup\apache\htdocs
ServerName www.something.com
</VirtualHost>
<--------------------------->

When i run Apache... its working ......
but when i type in www.something.com ...
it doesnt show anything.....
When i type in 127.0.0.1 ... evertyhing working......
Whats wrong.......??????????????

Anon
03-13-2002, 11:28 AM
You need to add a ServerAlias

ServerAlias *something.*

To your virthost tag. Also, did you restart Apache after you made changes to your conf?