Forum Discussion
Abdou76
Cirrus
Nov 10, 2022Multiple server with one VS
Hello, Can i use two différents servers with one virtual server, for example : 1/ abc.com : Vs 172.16.250.100 -----> server1 : 10.10.10.10 2/ xyz.com : Vs 172.16.250.100 -----> server2 : 10.10...
- Nov 20, 2022
Abdou76 ,
sure you can do this ,
try this :when HTTP_REQUEST { if {[HTTP::host] eq "abc.com"}{ pool pool_1 } elseif {[HTTP::host] eq "xyz.com"}{ pool pool_2 } elseif {[HTTP::host] eq "ghl.com"}{ pool pool_3 } }Hope it works with you.
Regards - Nov 20, 2022
Hi mohamedT
hank you for your great help
Abdou76
Cirrus
Nov 18, 2022Hi Mohamed
Bellow are my captures :
Nov 18, 2022
okay ,
did you test this virtual server and worked well with you after assigning iRule.
it should work as blue squire means it recieves traffic and process it same as available green circle.
test it first please.
- Abdou76Nov 18, 2022
Cirrus
The VS works fine if i remove the irule and make the default pool to pool1 or pool2.
Thank you.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects