Joe_Pipitone
May 20, 2010Nimbostratus
Host headers on BigIP rather than IIS
I've submitted a support ticket to F5, however I'm not sure they understood what I am trying to accomplish. I am trying to have the BigIP handle host headers, rather than our front end IIS web servers.
I have a number of different virtual servers configured for each one of our websites (40 total)
Each virtual server is associated with a pool. My naming convention is as follows:
VIP-sitename-80
Pool-sitename-80
Each pool has the same 6 members (each are Windows 2003 IIS web servers)
Each IIS web server has 40 websites configured on each, and each website config has its own set of host headers. All websites serve content on port 80 - which was possible by using host headers.
Can anyone tell me if its possible using an iRule, to simply send traffic to a certain IIS site if a host name is matched?
For example, I know it is possible to use an iRule to do the following:
when HTTP_REQUEST {
if {[string tolower [HTTP::host]] eq "www.oursite.com"} {
pool Pool-sitename-80
}
}
But, if we have more than 1 site configured in IIS on each webserver - I'm not sure there's an easy way to target a specific IIS site.
Has anyone been able to use their BigIP version 9 to handle host headers rather than IIS with more than 1 site?