This is a discussion on Re: Followup: VirtualHosts.. within the Apache Web Server forums, part of the Web Server and Related Forums category; Evan Platt wrote: > I've added to the top of my httpd.conf: Usually it should be sthg. like ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Evan Platt wrote:
> I've added to the top of my httpd.conf: Usually it should be sthg. like NameVirtualHost *:80 <VirtualHost *:80> ServerName www.espphotography.com DocumentRoot /Library/WebServer/Documents </VirtualHost> <VirtualHost *:80> ServerName www.hisdomain.be ServerAlias hisdomain.be *.hisdomain.be DocumentRoot /Users/hisdirectory/public_html </VirtualHost> have a look on http://httpd.apache.org/docs/2.2/vhosts/name-based.html -- Robert |