Forum Discussion
Joe_Pipitone
Nimbostratus
May 20, 2010Host 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 server...
Michael_Yates
Nimbostratus
May 20, 2010The F5 LTM doesn't care about Host Headers. It only cares about the Port.
Look at it like this. You use the iRules to shape the Traffic to the Pools.
http://www.website.com/subcontent/index.html
If TCP Port == 80
Do something
If [HTTP::host] equals "www.website.com"
Do something (HTTP::Redirect or pool Pool-www.website.com-80)
If [HTTP::uri] equals "/subcontent/index.html"
Do something (HTTP::uri "/subcontent/index.asp" or pool Pool-www.website.com-80)
All of the iRule processing allows you to shape or change the traffic, but when it comes to the server, it only cares about what is configured in the Pool:
10.10.10.10 - Port 80
20.20.20.20 - Port 80
etc...
With the Senario that you have given you could use a single Virtual Server and a Single Pool to handle all 40 websites (Because they all exist on the same server and port). The LTM won't help you do what it is your wanting.
A solution to your problem (this is what I do on my IIS Servers) is to get rid of Host Headers by running your websites on Non-Standard Ports (Example: Port 5050). It removes the need for Host Headers, prevents the need for additional IP Addresses being wasted, and makes things easier to manage (in my opinion).
Hope this Helps.
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
