On the Application Gateway one can use the festure "Host override name > Pick host name from backend target"
W
here do I find that on the Front Door?
On the Application Gateway one can use the festure "Host override name > Pick host name from backend target"
W
here do I find that on the Front Door?
Hello @KE1980
You are asking about overriding host header in the request and ability to derive the host name from the IP or FQDN of the back-end pool members.
This is the case for Multitenant backend support.
You can set option Destination host -> Replace in routing rules(Route Type: Redirect)
https://docs.microsoft.com/en-us/azure/frontdoor/front-door-url-redirect#destination-host
@KE1980, this has been not yet provided from portal side. But we have this HTTP header override option available in AFD.
Ref: https://docs.microsoft.com/en-us/azure/frontdoor/front-door-http-headers-protocol
Hi @suvasara-MSFT ,
Thank you for feedback. So, wich one of those in the table (from the article) should be used to optain the requested?
@KE1980, looks like "X-Forwarded-Host" header does the work in your case. The X-Forwarded-Host (XFH) header is a de-facto standard header for identifying the original host requested by the client in the Host HTTP request header.
Host names and ports of reverse proxies (load balancers, CDNs) may differ from the origin server handling the request, in that case the X-Forwarded-Host header is useful to determine which Host was originally used.
Please do not forget to "Accept the answer" wherever the information provided helps you to help others in the community.
@suvasara-MSFT Thanks for feedback. Could you give an example using the X-Forwarded-Host on the AFD, with screendumps?
Thanks for helping up until now.
It seems that I`m on the right track in regarding using the "X-Forward" and that it is possible. And are currently testing the setup that I have i my lab... I will share my findings as soon as I have it all in the clear.
@KE1980,
Greetings,
If you think your question has been answered, click "Mark as Answer" if just helped click "Vote as helpful". This can be beneficial to other community members reading this forum thread.
Best regards
Subhash
4 people are following this question.