Last reviewed: August 2026
Azure Traffic Manager is a DNS-based global traffic-routing service. It does not proxy application traffic. Instead, it answers DNS queries with the endpoint that should receive new connections based on the routing method you configure and the health of each endpoint.
How Azure Traffic Manager works
When a client requests your application hostname, DNS resolution eventually reaches the Traffic Manager profile. Traffic Manager evaluates the configured routing method and endpoint health, then returns the selected endpoint in the DNS response. The client connects directly to that endpoint.
Because Traffic Manager works at the DNS layer, it affects new DNS-based connections. Existing connections are not moved when an endpoint becomes unhealthy, and DNS caching means failover speed depends partly on the configured TTL and resolver behavior.
Endpoint types
- Azure endpoints: supported Azure resources such as Web Apps and Public IP resources.
- External endpoints: FQDNs or IP addresses for services outside Azure, including on-premises and other clouds.
- Nested endpoints: another Traffic Manager profile, used to combine routing methods.
Traffic-routing methods
Priority
Use Priority routing for active/passive failover. The highest-priority healthy endpoint receives traffic; if it becomes unhealthy, the next healthy endpoint is returned.
Weighted
Use Weighted routing to distribute DNS responses according to endpoint weights. This is useful for staged rollouts, migrations, and controlled traffic splitting.
Performance
Use Performance routing to direct users toward the endpoint expected to provide the lowest network latency from their DNS resolver's network.
Geographic
Use Geographic routing when traffic from specific geographic areas must map to specific endpoints, such as for data residency or localized experiences.
MultiValue
Use MultiValue when supported external IP-address endpoints should be returned as multiple healthy answers in a DNS response.
Subnet
Use Subnet routing when specific source IP ranges should map to specific endpoints.
Health monitoring and failover
Traffic Manager continuously probes configured endpoints. You can configure protocol, port, path, probe interval, and tolerated failures. When an endpoint is unhealthy, Traffic Manager stops returning it for new DNS decisions according to the active routing method.
DNS TTL matters
A lower TTL can help clients refresh DNS answers more frequently during failover, while a higher TTL reduces DNS query volume but may delay routing changes. Choose TTL based on the application's availability requirements and DNS-query tradeoffs.
Typical multi-region design
User
|
v
app.example.com
|
v
Azure Traffic Manager
|
+------------------+
| |
East US West Europe
Endpoint Endpoint
| |
Regional app Regional appCreate a Traffic Manager profile in the Azure portal
- Deploy or identify at least two public-facing endpoints.
- Open Azure portal → Traffic Manager profiles → Create.
- Provide a profile name and select a routing method.
- Create the profile.
- Configure DNS TTL and endpoint monitoring.
- Add Azure, External, or Nested endpoints.
- Verify endpoint monitor status becomes healthy.
- Test the generated trafficmanager.net hostname.
- Point your custom DNS name to the Traffic Manager profile using the appropriate DNS record.
Azure CLI example
RG=melochip-tm-rg
PROFILE=melochip-global
az group create --name $RG --location eastus
az network traffic-manager profile create \
--resource-group $RG \
--name $PROFILE \
--routing-method Priority \
--unique-dns-name melochip-global-demo \
--protocol HTTPS \
--port 443 \
--path /health \
--ttl 30Nested profile example
Nested profiles let you combine routing strategies. A parent profile might use Performance routing across regions, while child profiles use Priority routing inside each region for regional failover.
Traffic Manager vs Azure Front Door
| Feature | Traffic Manager | Azure Front Door |
|---|---|---|
| Routing method | DNS | Layer 7 edge proxy |
| Traffic proxy | No | Yes |
| Protocols | DNS-based steering to public endpoints | HTTP/HTTPS |
| WAF | No | Yes |
| Best fit | Global DNS failover and endpoint steering | Global web acceleration, WAF and Layer 7 routing |
Traffic Manager vs Azure Load Balancer
Azure Load Balancer is a regional Layer 4 TCP/UDP service. Traffic Manager is a global DNS-based routing service. A common architecture uses Traffic Manager across regions and Standard Load Balancer inside each region.
Common troubleshooting
- Endpoint degraded: verify probe protocol, port, path, firewall rules, listener and endpoint reachability.
- Failover appears slow: check DNS TTL and resolver/client caching.
- Wrong endpoint selected: verify routing method, endpoint status, priority/weight/location mapping and health.
- Custom domain fails: verify DNS records and that the backend accepts the custom hostname.
- Existing sessions continue to old endpoint: expected; Traffic Manager does not move established connections.
Best practices
- Use dedicated health endpoints that reflect real application readiness.
- Choose TTL deliberately based on failover requirements.
- Use Priority for clear active/passive disaster recovery.
- Use Weighted for staged migrations and controlled traffic shifts.
- Use nested profiles when one routing method is not enough.
- Monitor endpoint health and DNS behavior continuously.
Official references
- Azure Traffic Manager overview
- Traffic Manager routing methods
- Traffic Manager endpoint types
Related Melochip guide: Azure Load Balancer.
Join the discussion
0 CommentsAsk questions, add context, or share what worked.
More from Melochip Editorial
Learn what Playwright testing is, why modern QA teams use it, how testers can get started, and the major types...
7 min read · Sep 19, 2026
Learn how Kubernetes Deployments and ReplicaSets work with practical YAML, scaling, self-healing, rolling upda...
7 min read · Sep 17, 2026
Learn Kubernetes security best practices with RBAC, Secrets, ServiceAccounts, Pod securityContext, NetworkPoli...
6 min read · Sep 17, 2026Related articles
Learn Kubernetes monitoring and logs with kubectl logs, events, metrics-server, top commands, Prometheus, Graf...
5 min read · Sep 17, 2026
Learn Kubernetes Ingress with controllers, IngressClass, host and path routing, TLS, DNS, annotations, redirec...
8 min read · Sep 17, 2026
Learn how Kubernetes Deployments and ReplicaSets work with practical YAML, scaling, self-healing, rolling upda...
7 min read · Sep 17, 2026
Troubleshoot Kubernetes issues including Pending Pods, CrashLoopBackOff, ImagePullBackOff, service routing, in...
7 min read · Sep 17, 2026Stay in the loop. Get new Melochip articles
Receive Melochip article updates when new articles are available. Explicit opt-in only.
No comments yet. Start the discussion.