Forum Discussion
Multiple Websites on Single VIP
I have multiple websites which are currently on Microsoft TMG. I want to migrate them to F5. There are multiple URLS hosted on different servers which are running on different ports as well.
I have only one Public IP. I have created pools for different servers and i have applied the certficate on the VIP as well.
All the traffic should be SSL from the client side.
My requirement is
if any user type
https://site1.test.com/ http://site1.test.com/ www.site1.test.com
it should go
======================
https://site2.test.com/ http://site2.test.com/ www.site2.test.com
it should go
=================================
https://site3.test.com/ http://site3.test.com/ www.site3.test.com
it should go
I have created multiple pools and will recall them in the irule.
How can i achieve this. Single VIP with multiple Website which require SSL offload as well as redirection of URL.
1 Reply
- Matt_Dierick
Employee
Hi Wasim,
It's not difficult. Actually, you need to check the [HTTP:host] with the scheme (HTTPS or HTTP) and make conditions based on your requirements.
The action is just a Pool selection (https://devcentral.f5.com/articles/irules-101-05-selecting-pools-pool-members-and-nodes)
Be careful to do not make any loop ;)
Make sense ?
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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