apache mod_proxy_balancer help

Discussion in 'HOWTO-Related Questions' started by uttamhoode, Aug 29, 2007.

  1. uttamhoode

    uttamhoode New Member

    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
     
  2. falko

    falko Super Moderator ISPConfig Developer

    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.
     
  3. uttamhoode

    uttamhoode New Member

    hi falko,
    can u please give me the vhost entry for the same
    Regards,
    uttam
     
  4. falko

    falko Super Moderator ISPConfig Developer

    It's like the first one, but with different hostnames.
     

Share This Page