I have moved all our web pages from IIS to Apache on a Debian Server. We 
have multiple web sites all on one public IP. Specifically,


www.npc-usa.com
www.vostok1.com
www.pacificseabass.com

all fixed to the public IP of 208.12.13.138.

If I understand the instructions right, configuring this is simply a 
matter of setting up Virtual Domains.  So, in httpd.conf file I have:

NameVirtualHost 208.12.13.138:80

<VirtualHost _default_:80>
DocumentRoot /var/www/NPC/
ServerName www.npc-usa.com
</VirtualHost>

<VirtualHost _default_:80>
DocumentRoot /var/www/Vostok1/
ServerName www.vostok1.com
</VirtualHost>

<VirtualHost _default_:80>
DocumentRoot /var/www/Seabass/
ServerName www.pacificseabass.com
</VirtualHost>

But regardless of which site I go to I end up in the directory for 
www.npc-usa.com

In addition, so far I can't figure out for the life of me where I tell 
Apache which file is the default (home) file for each host (i.e., when 
one goes to www.npc-usa.com the default file is NPC_Home.htm).

Curtis


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to