Allan_66523
Dec 12, 2011Nimbostratus
Design Help
We have a new virtual web environment and would like to use one external IP for all the sites hosted by the new environment. I will be natting one of our external ip addresses to 192.168.20.54 which would be the main VIP. I was thinking about putting an Irule like the one below on this VIP. Is this the best way to accomplish what i am trying to do or is there a better way?
when HTTP_REQUEST {
switch [string tolower [HTTP::]] {
"test.xyz.com" { virtual test_vip }
"hello.xyz.com" { virtual hellow_vip}
default { virtual default_vip}
}
}
Thanks