You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Laxmikanth M.S." <la...@sonata-software.com> on 2002/12/09 07:46:16 UTC

Name Based Virtual Host Problem

Hi all,
I have configured apache1.3.27 and tomcat4.1.12.
I have configured two sites as below using Name Based Hosting.
when I type www.xxx.com and www.yyy.com the correct sites are coming - no
problem ...but when I type "yyy.com" it opens www.xxx.com's pages...why this
happensd ......how it can be solved....
thanks in advance
****************************************************************************
*****************
NameVirtualHost  *
<VirtualHost *>
    #ServerAdmin x@y.com
    DocumentRoot /usr/local/apache/tggf
    ServerName www.xxx.com
</VirtualHost>

<VirtualHost *>
    #ServerAdmin contactus@ftiinstitutional.com.au
    DocumentRoot /usr/local/apache/site
    ServerName www.yyy.com
</VirtualHost>
****************************************************************************
*****************		

regards
Laxmiaknth

*********************************************************************
Disclaimer: The information in this e-mail and any attachments is
confidential / privileged. It is intended solely for the addressee or
addressees. If you are not the addressee indicated in this message, you may
not copy or deliver this message to anyone. In such case, you should destroy
this message and kindly notify the sender by reply email. Please advise
immediately if you or your employer does not consent to Internet email for
messages of this kind.
*********************************************************************

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>