PDA

View Full Version : apache mod_proxy_balancer help


uttamhoode
29th August 2007, 13:18
Hi all,
Is it possible configure apache load balancer to handle two diffrent set of web servers.

eg

lb.example.com is the load balancer

1st web application is running on
a1.example.com
a2.example.com

2nd web application is running on
b1.example.com
b2.example.com

lb.example.com should handle a1/a2 and b1/b2.


I need httpd.conf entry for the above example.


Thanks and Regards,
uttam hoode

falko
30th August 2007, 22:21
Sure, just create a second vhost on the loadbalancer (e.g. www.example2.com) that uses mod_proxy_balancer to forward the requests to b1.example.com / b2.example.com.

uttamhoode
3rd September 2007, 11:28
hi falko,
can u please give me the vhost entry for the same
Regards,
uttam

falko
4th September 2007, 20:24
It's like the first one, but with different hostnames.