ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
  Simplify Your Life with Apache Virtual Hosts
Subject:   Virtual hosts
Date:   2005-10-05 19:27:15
From:   dgparent
No matter how I seem to configure this both hosts end up at the same web page here is what I have , one is a domain theparents.net nad the other is dgftaworld.net:

NameVirtualHost *:80

<VirtualHost *:80>
ServerName www.theparents.net
DocumentRoot "F:/Program Files/Apache Group/Apache2/htdocs"

<VirtualHost *:80>
ServerName www.dgftaworld.net
DocumentRoot "F:/Program Files/Apache Group/Apache2/htdocs/store"