How to Configure Redirect Rule in AFD rules engine

Santhosh Chennu 0 Reputation points
2025-02-26T21:41:27.59+00:00

We have Azure FrontDoor Premium. We are trying to implement a rule for URL Redirect. We configured the condition to Match a header value and action to URL redirect 308 to New url (ex: example.com) with Match incoming request, All the other fields are left blank.

But the issue is, I see the request hits, can see in logs that it matches the rule but I don't the redirected request hitting the frontdoor/backened.

can you help with it?

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

1 answer

Sort by: Most helpful
  1. G Sree Vidya 175 Reputation points Microsoft External Staff
    2025-02-28T08:18:52.74+00:00

    Hello @Santhosh Chennu

    Greetings!

    I wanted to follow up and check if you had the opportunity to verify the information requested by Silvia Wibowo in our previous post.

    Additionally, I kindly request that you provide the host name details and refer to the documents below regarding the redirect rule. Please ensure that all conditions are thoroughly checked.

    • A clear description of the redirection rule, including the condition used to match the request and the redirection action applied (feel free to mask or redact any domain names or sensitive information).

    For your reference, here are some helpful documents on configuring redirection rules:

    User's image

    Refer: https://learn.microsoft.com/en-us/azure/frontdoor/front-door-url-redirect?pivots=front-door-standard-premium

    https://learn.microsoft.com/en-us/azure/frontdoor/standard-premium/how-to-configure-rule-set


    Please let me know if you have any further questions or if there’s anything else I can assist you with. I look forward to your response.

    0 comments No comments

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.