azureazure-traffic-manager

Azure Traffic Manager Multiple Websites


Currently, I am trying to setup a traffic manager profile for our company needs. Although I read the articles and documentation, I did no find an answer. Our goal is the following:

  1. Route traffic based on domain name/website:

    abc.com - routed to West Europe / West US is a backup

    def.com - routed to West US / West Europe is a backup

Do we need to create separate traffic manager profile for each website we want to route to these regions. As I understand with custom headers it is possible to monitor different websites inside the profile, but obviously not to direct traffic using different rules for each website.

Probably, I am missing something out. Thank you in advance.


Solution

  • Azure traffic manager supports the following traffic routing methods:

    Priority, Weighted, Performance, Geographic, Multivalue, Subnet.

    If you want to direct traffic based on the domain name, you need to create a separate traffic manager profile for each domain. Then create two endpoints by selecting Priority routing rules in each profile.

    In addition, you could have a look at the Azure front door. With Front Door, you can transform your global consumer and enterprise applications into robust, high-performing personalized modern applications with content that reach a global audience through Azure. It supports URL-path based routing for requests. You also could assign priorities to your different backends when you want to use a primary service backend for all traffic.