Forum Discussion
Vijay_E
Mar 02, 2017Cirrus
You can use 1 VS with a pool that has 1 pool member (server). Use iRule to redirect based on the incoming domain. The following iRule is untested and would have to be modified to suit your specific use-case:
When HTTP_REQUEST {
if { [HTTP::uri] eq "/" } {
switch -glob [HTTP::host]
"VIP1.com" { HTTP::redirect [HTTP::host]/test/id=1 }
"VIP2.com" { HTTP::redirect [HTTP::host]/test/id=2 }
}
}