Jh, 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. Regards, Ali -----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 http://127.0.0.1 , 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, while > 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 :-) jh --- 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. * * http://evolt.org/help_support_evolt/ For unsubscribe and other options, including the Tip Harvester and archives of thelist go to: http://lists.evolt.org Workers of the Web, evolt !