[thelist] Apache virtual Host Problem

Ali Almutawa aamutawa at batelco.com.bh
Fri Aug 29 09:16:09 CDT 2003


Thanks for your probpt reply, yes your are right, I am setting this in a
testing environment, this is why I am using the /etc/hosts file to do
the local name resolving. And it is working for the www.firsthost.com,
the aliases also pointing to the right pages, but only the
www.secondhost is not. The question I need to know its answer, whey
firsthost is ok and secondhost is not.


-----Original Message-----
From: thelist-bounces at lists.evolt.org
[mailto:thelist-bounces at lists.evolt.org] On Behalf Of John Handelaar
Sent: Friday, August 29, 2003 4:10 PM
To: thelist at lists.evolt.org
Subject: RE: [thelist] Apache virtual Host Problem

> -----Original Message-----
> From: thelist-bounces at lists.evolt.org
> [mailto:thelist-bounces at lists.evolt.org]On Behalf Of Ali Almutawa
> Sent: 28 August 2003 23:29
> To: thelist at lists.evolt.org
> Subject: [thelist] Apache virtual Host Problem
> I have managed to configure my apache httpd.conf file to show me the
> default page on , as well manged to create a virtual
> host called www.firsthost.com and its alias "first" which both work
> fine. I have added another host which is called secondhost.com and its
> alias "second", here where the problem appears. When going to
> www.secondhost.com I got the index file of the www.firsthost.com,
> if I typed the alias name "second" it will show the coorect index file
> for secondhost.com.

You don't have 'www.firsthost.com' or 'www.secondhost.com'
set as server aliases in httpd.conf.  Add them :-)

Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.512 / Virus Database: 309 - Release Date: 19/08/2003

* * Please support the community that supports you.  * *

For unsubscribe and other options, including the Tip Harvester 
and archives of thelist go to: http://lists.evolt.org 
Workers of the Web, evolt ! 

More information about the thelist mailing list