multiple webserver

0

hello

im testing your free edition of load balancer. since i only have one public ip address im trying to redirect port 80 to the load balancer and through content rules trying to redirect www.mycompany.com to webserver1 and www2.mycompany.com to webserver2

im using content rule type content matching, regular expression string [www]?\.mycompany\.com

this doesnt seem to work. wondering what im doing wrong

searching your documentation but cant find a good example.

thank you in advance.

Vervoort Jurgen

3 comments

Avatar
0
Mark Deegan

Hello Jurgen,

I wouls set up a port 80 vip with 2 subVS's in it. add real server 1 to subVS1 and add real server 2 to subVS2. then on the parent VS enable content switching and an icon for rules appear for each subVS. It will show 0 by default. Click on 1 of these zero's and add the content rule to the subVS.

Each content rule should be like this 

content matching rule

header field : host

match string : www.kemp.com

ignore case

and

content matching rule

header field : host

match string : www2.kemp.com

ignore case

Avatar
0
jurgen vervoort

hi mark

thx for the comment. i tested it and looked like it worked for one webserver but the second one stays offline

also my first webserver became unresponsive after a day. once i disabled the rule again and rebooted the server it stayed stable. webserver was a centos wordpress site. 

so for now its not been a succesfull test of KEMP load balancer. :(

testing now with the exchange 2016 template see if that does the job.

with regards

jurgen

Avatar
0
joshua.gibson

I am having a similar issue where one of my web servers shows online but the other one does not. I have two IIS servers and an Exchange 2013 OWA as well as a OpenVPN server all running 443.