Forum Discussion
Multiple Websites on Single VIP
Hi,
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.
25 Replies
- nitass
Employee
can you add some logging?
e.g.
when HTTP_REQUEST { log local0. "client=[IP::client_addr]:[TCP::client_port] host=[HTTP::host] uri=[HTTP::uri]" switch [string tolower [HTTP::host]] { "enoclubricants.com" { pool ENOCLUBRICANTSPP1 } "enocvettingsiredev.enoc.com" { pool ENOCVETTING } "wrench.enoc.com" { pool WRENCH_POOL } default { Use pool attached to virtual - no action required } } } when HTTP_RESPONSE { log local0. "client=[IP::client_addr]:[TCP::client_port] pool=[LB::server pool]" }- Wasim_Hassan_13
Nimbostratus
how to check the logs, i have applied the irule which you mention above. - nitass
Employee
log will be written to /var/log/ltm
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