You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by ABDUL BASIT <ab...@yahoo.com> on 2003/10/09 11:33:45 UTC

HOW TO CREATE VIRTUAL HOST IN APACHE

hi all..
Can any one tell me how to create virtual hosts in
apache2.0.47.
please, if any one can help me.
tell me the step by step procedure to create a virtual
host in apache2.
Thanks....
mail me at abdul_basit1299@hotmail.com

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: HOW TO CREATE VIRTUAL HOST IN APACHE

Posted by Johan Louwers <Su...@dds.nl>.
Edit your httpd.conf and make it look like something like this:

<VirtualHost 10.99.1.114>
        ServerAdmin Johan.Louwers@someserver2.com
        DocumentRoot /export/home/www.someserver2.com
        ServerName www.someserver2.com
        ErrorLog /export/home3/system_logs/error-log_www.someserver2.com
        CustomLog
/export/home3/system_logs/common-log_common_www.someserver2.com common
</VirtualHost>



<VirtualHost 10.99.1.114>
        ServerAdmin Johan.Louwers@.someserver1.com
        DocumentRoot /export/home/www.someserver1.com
        ServerName www.someserver1.com
        ErrorLog /export/home3/system_logs/error-log_www.someserver1.com
        CustomLog /export/home3/system_logs/common-log_www.someserver1.com
common
</VirtualHost>


restart apache.


Regards,
Johan Louwers.






----- Original Message -----
From: "ABDUL BASIT" <ab...@yahoo.com>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Thursday, October 09, 2003 11:33 AM
Subject: HOW TO CREATE VIRTUAL HOST IN APACHE


> hi all..
> Can any one tell me how to create virtual hosts in
> apache2.0.47.
> please, if any one can help me.
> tell me the step by step procedure to create a virtual
> host in apache2.
> Thanks....
> mail me at abdul_basit1299@hotmail.com
>
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Shopping - with improved product search
> http://shopping.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org