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" <abdul_basit1299@yahoo.com>
To: "Tomcat Users List" <tomcat-user@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
|