Forum Discussion

Mali47_261353's avatar
Mali47_261353
Icon for Nimbostratus rankNimbostratus
Apr 12, 2018

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!

 

1 Reply

  • 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,