Forum Discussion
Forward to Pool that is using IIS hostname
We are currently using Policy to forward paths to pools. This works fine for paths that need access to Pool that are running on IIS with blank host name bindings. However, if we configure pool forward to a path is destined to an IIS server using host name binding, the F5 simply sends it directly to the pool and host name cannot be found issue.
Can I use a policy to forward the pool and simultaneously change the hostname that is configured on IIS so that when the pool send to IIS, IIS should receive it on the configured hostname?
We have APM implemented, if an iRule is the way to do it we'll need an APM compatible iRule
Thanks!
- youssef1
Cumulonimbus
Hello,
Yes I think, You can try with your LTM Policy.
In your LTM policy, When your condition Match then your action is to FW to specific pool.
Add Action before your action FW to pool:
- Remove http header "Host" Request
- Insert http header "Wanted hostname" Request
- FW to pool
You can also try replace for http header.
Regards,
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