If you have different backend servers for your apps, you can configure only
one Farm with HTTP profile and configure as services as vhost you require,
use a PCRE regular expresion in each virtualserver field in the service
section.

I.E:
Farmname: myhosting
IP: 80.25.32.64
PORT: 80

Service "web1"
virtualhost: .*web1.com
backends:
192.168.0.100
192.168.0.101

Service web2
virtualhost: .*web2.com
backend:
192.168.0.200
192.168.0.201

Regards

2015-11-14 18:23 GMT+01:00 James Doherty <j...@jdoherty.net>:

> Ernie
>
> Hope this helps...
>
> Jim
>
> James M Doherty
> President REVIVE CONSULTING LLC
> EMAIL: j...@jdoherty.net
> PHONE: 512-650-2997
> Patents Held:
>  http://patent.ipexl.com/inventor/James_M_Doherty_1.html
>
>
>
> On Fri, Nov 13, 2015 at 12:38 PM, Ernie Dunbar <maill...@lightspeed.ca>
> wrote:
>
>> Yes, I'd love to see that.
>>
>> On 2015-11-10 17:42, James M Doherty wrote:
>> > I have this exact environment set up
>> > I serve 3 different web sites spread across 5 backend servers
>> >
>> > Tomorrow I will send the key configure  settings if you are interested
>> >
>> > James M Doherty
>> > President
>> > Revive Consulting LLC.
>> > 512-650-2997 ( O )
>> > 512-217-6302 ( C )
>> >
>> >
>> >
>> >> On Nov 10, 2015, at 18:50, Ernie Dunbar <maill...@lightspeed.ca>
>> >> wrote:
>> >>
>> >> Hi everyone.
>> >>
>> >> I'm trying to set up Zen Loadbalancer against a cluster of servers
>> >> running Apache virtual hosts on a single, shared IP address. I have
>> >> the
>> >> loadbalancer working fine so long as the Apache servers are hosting a
>> >> completely separate IP address for a virtual host, but I want to be
>> >> able
>> >> to run many domains through the Zen Loadbalancer without having to
>> >> have
>> >> a unique IP address for three different hosts - the Zen box, Apache
>> >> server 1 and Apache server 2.
>> >>
>> >> For example, this configuration works fine:
>> >>
>> >> mocku.edu DNS resolves to <public /24>.41
>> >> Zen Loadbalancer uses <public /24>.41
>> >> Apache1 uses <public /24>.42
>> >> Apache2 uses <public /24>.43
>> >>
>> >> When I set up a php script to show the IP address that the web server
>> >> is
>> >> using, refreshing the page shows that the IP address switches between
>> >> .42 and .43. I've tried using a private IP space like 10.0.0.42 and
>> >> 10.0.0.43 for the backends (HTTP profile), but that immediately fails
>> >> with a 503 message, and the Apache logs show no access attempts.
>> >>
>> >> Any suggestions on how to accomplish this without using hundreds of
>> >> precious IPv4 IP addresses would be welcome. :)
>> >>
>> >>
>> ------------------------------------------------------------------------------
>> >> _______________________________________________
>> >> Zenloadbalancer-support mailing list
>> >> Zenloadbalancer-support@lists.sourceforge.net
>> >> https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support
>> >
>> >
>> ------------------------------------------------------------------------------
>> > _______________________________________________
>> > Zenloadbalancer-support mailing list
>> > Zenloadbalancer-support@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support
>>
>>
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Zenloadbalancer-support mailing list
>> Zenloadbalancer-support@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support
>>
>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Zenloadbalancer-support mailing list
> Zenloadbalancer-support@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support
>
>


-- 
Load balancer distribution - Open Source Project
http://www.zenloadbalancer.com
Distribution list (subscribe): zenloadbalancer-support@lists.sourceforge.net
------------------------------------------------------------------------------
_______________________________________________
Zenloadbalancer-support mailing list
Zenloadbalancer-support@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support

Reply via email to