Azure Front Door rule for specific origin

CS10NET 86 Reputation points
2022-12-21T14:58:34.223+00:00

Hi, we are looking to create a URL redirect but only for a specific origin that is part of an origin group. On the Front Door we have an endpoint and routing rule pointing to an origin group which (as of right now) sends to one of 2 web sites hosted in Azure. We would like to add a 3rd origin to this group (website located on-premise.) The app is installed in all 3 of these locations. Problem is that the on-prem site requires a redirection. Is there any way to accomplish this on Front Door whether a new route to different origin group (with on-prem origin) or a rule set configuration? To summarize, if we browse to the endpoint URL (app.azurefd.net), and only the on-prem origin is alive (or lowest latency), then we need it to redirect to app.azurefd.net/subpath1/subpath2

Azure Front Door
Azure Front Door
An Azure service that provides a cloud content delivery network with threat protection.
853 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.