Azure Traffic Manager controls endpoint selection during DNS resolution. A profile defines the available endpoints, routing method, DNS time to live (TTL), and health-monitoring settings. When a recursive resolver queries the profile, Traffic Manager selects an endpoint according to that configuration. The client then connects directly to the selected service; application requests and responses do not pass through Traffic Manager.
This separation makes Traffic Manager suitable for public-facing applications using HTTP, HTTPS, or other application protocols. It does not provide TLS termination, HTTP path routing, caching, a web application firewall, or connection-level load balancing. Configure those capabilities on the destination services or on regional components such as Azure Application Gateway and Azure Load Balancer. Traffic Manager is not a private endpoint load balancer.
Each profile uses one of six routing methods. Priority selects the highest-priority available endpoint for active-passive designs. Weighted distributes DNS selections according to configured relative weights. Performance uses network-latency measurements to choose an appropriate Azure region rather than measuring every individual client connection. Geographic maps DNS request origins to geographic assignments. Subnet maps source IP address ranges to endpoints. MultiValue returns multiple healthy IPv4 or IPv6 endpoint addresses in a DNS response. Nested profiles combine methods, such as geographic selection followed by priority-based regional failover.
Health monitoring supports HTTP, HTTPS, and TCP probes. For web applications, expose a lightweight readiness path that reports whether the instance can serve meaningful requests, including critical dependencies where appropriate. Configure the monitoring port, path, interval, timeout, and failure tolerance deliberately. Permit probe traffic through endpoint firewalls using the AzureTrafficManager service tag where supported, and maintain equivalent rules on external firewalls. HTTPS probing should not be treated as certificate validation.
Failover is not instantaneous. Detection time, DNS caching, application DNS behavior, and existing connections all affect recovery. Lower TTL values can reduce the time that compliant resolvers retain an old answer, but increase authoritative DNS query volume. Disabling an endpoint prevents its selection in subsequent responses; it does not terminate established connections or invalidate cached answers. If all eligible endpoints are degraded, Traffic Manager can return degraded endpoints rather than treating DNS resolution as a guarantee of application health.
Publish a custom hostname through your DNS provider and configure every destination to accept that hostname with the required TLS certificate. Azure DNS linked records can associate a record set directly with a Traffic Manager profile, avoiding an intermediate trafficmanager.net CNAME lookup. Where linked records are used, follow the endpoint consistency requirements of strictly typed profiles.
Operate the service alongside application-level monitoring and regional recovery procedures. Geographic assignments are not a security boundary or proof of user location, and weighted routing does not guarantee exact request percentages because resolvers cache answers. Keep configuration in infrastructure as code, restrict modification permissions, and test regional failure, recovery, and failback with realistic clients. Application state replication, backend capacity, and data recovery remain separate architectural responsibilities.