Apache Help

Michael Pratt mtpratt1971 at hotmail.com
Thu Feb 28 18:02:55 CST 2002


I am trying to set up multiple domains using one IP  I have this in my 
httpd.conf

NameVirtualHost <DSL IP ADDRESS>

<VirtualHost domain1.net>
DocumentRoot /var/www/html
ServerName domain1.net
</VirtualHost>

<VirtualHost domain2.org>
DocumentRoot /var/www/html/domain2
ServerName domain2.org
</VirtualHost>

The problem I have is no matter what domain I put in it goes to domain1.net

how can I set Apache up to point Domain1 to /var/www/html and Domain2 to 
/var/www/html/domain2?

Thanks!

Mike

_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx




More information about the Kclug mailing list