1Alias vs CNAME
You cannot create a CNAME for a root domain (zone apex) like 'example.com' due to DNS protocol limitations. AWS created Alias records to solve this exact problem, allowing you to map the apex to an ALB or CloudFront distribution.
2Step-by-Step Breakdown
What is Route 53?. A highly available and scalable cloud Domain Name System (DNS) web service. (Port 53 is the standard DNS port).
Hosted Zones. A container for records that define how to route traffic for a domain.
A Records vs CNAME. An 'A' record maps a hostname to an IPv4 address. A 'CNAME' maps a hostname to another hostname.
Alias Records. AWS-specific records that map your root domain (example.com) directly to AWS resources like ALBs or CloudFront.
Knowledge Check. What AWS-specific DNS record allows you to map a root domain to an Application Load Balancer?
- →CNAME Record
- →Alias Record
Simple Routing. Standard DNS function. Returns one or multiple IP addresses for a single domain name.
Weighted Routing. Splits traffic based on assigned weights. Great for A/B testing or gradual blue/green deployments.
Latency & Geolocation. Latency routing sends users to the AWS region with the lowest latency. Geolocation routes based on user location (e.g., Europe traffic stays in EU).
Failover Routing. Monitors health checks. If the primary endpoint fails, traffic is routed to the secondary (disaster recovery) endpoint.
Summary. Route 53 is your global traffic cop, ensuring high availability.
