Route Traffic based on Geo Location

Karamjit Singh 20 Reputation points
2025-03-10T16:19:22.6666667+00:00

I have Azure frontdoor Configured with rpxOriginGroup which has 2 origin one is in EAST US and second is in CentralUS.

I want Geo Location based routing, if anybody try to access example.com which is pointed to azure frontdoor from East US it should be route to East US origin and if somebody tries to access from Central US request should be route to Central US origin.

Note both origins are in same originGroup.

Thanks

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

Accepted answer
  1. Rohith Vinnakota 3,150 Reputation points Microsoft External Staff
    2025-03-10T20:02:45.0466667+00:00

    Hi @Karamjit Singh,

    Azure front door supports only for Geo Location in the rule engine configuration. Unfortunately, it doesn't support the regions.to specifically route the traffic
    Refer this doc:
    https://learn.microsoft.com/en-us/azure/web-application-firewall/afds/waf-front-door-geo-filtering

    • By default, Azure Front Door routes traffic to the origin that is closest to your end users. The latency routing method is the default behavior for end users.
    • This method directs user requests to the origin with the lowest network latency, rather than the closest geographic location, ensuring optimal performance.

    For example, East US users will be routed to the East US web application. Central US users will be routed to the Central US web application.
    Refer this doc:
    https://learn.microsoft.com/en-us/azure/frontdoor/routing-methods#lowest-latencies-based-traffic-routing

    May I ask if the above behavior is not working on your setup? If so, could you please provide some insights or issues you are experiencing?


    Kindly let us know if the above helps or you need further assistance on this issue.

    Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how.Accepted answer

    0 comments No comments

0 additional answers

Sort by: Most helpful

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.