Re: Apache Virtual Hosts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.



[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]