Apache Virtual Hosts
Ken Nordquist
ken at geekystuff.net
Thu May 5 17:31:42 UTC 2005
For each NameVirtualHost, you must have a:
<VirtualHost xxx.xxx.xxx.xxx>
DocumentRoot /path/to/virtual/host/directory
</VirtualHost>
Where the xxx.xxx.xxx.xxx is the actual ip address of the virtual host
you wish to access. You cannot leave the ip address out.
I use my computer as a test server and have a dozen or so test virtual
hosts up and running with no problems.
HTH,
Ken Nordquist
Ivan Gyurdiev wrote:
> According to httpd.conf:
>
>Listen *:80
>
>I can access the webserver...I just get the default host,
>not the specific virtual hosts that I want.
>
>
>
More information about the test
mailing list