Add a line to the <VirtualHost> container for that vhost:

ServerAlias virtualhost.com

------------------------------
Laurie Harper
Dealer ImpactR Systems
WWWeb Impressions, LLC
7725 Douglas Ave
Urbandale, IA 50322
(515)334-9638 ext.15
http://www.dealerimpact.com
http://www.webimpressions.com
------------------------------

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Mike McMullen
Sent: Wednesday, July 09, 2003 12:36 PM
To: [EMAIL PROTECTED]
Subject: Apache Virtual Hosts and site name


Hi all,

I have created a virtual host on my apache server with a
name like www.virtualhost.com. If I use that URL to access
it, everything is fine. 

However, if I use the URL of virtualhost.com., I get the default host
home page which is an entirely different company.

For the default host it's URL works fine if I leave off the www. I'm
using name-based virtual hosting.

Any insight appreciate!

Mike






-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to