Please enable JavaScript.
Coggle requires JavaScript to display documents.
10.107: CNAME vs Alias - Coggle Diagram
10.107:
CNAME vs Alias
CNAME
Point a host name to any other host name
ONLY FOR NON ROOT DOMAIN (something.mydomain.com)
Alias
Point a hostname to and AWS resource (blabla.amazonaws.com)
Work for ROOT DOMAIN and NON ROOT DOMAIN
Free of charge
Native health check
Alias Records
Maps a hostname to an AWS resource
An extension to DNS functionality
Auto recognize changes in the resource's IP address
Unlike CNAME, it can be used for top node of a DNS namespace
Alias record is always of type A/AAAA for AWS resource (IPv4/IPv6)
You can't set the TTL
Alias records targets
Elastic Load Balancers
CloudFront Distributions
API Gateway
Elastic Beantalk env
S3 Websites
VPC interface Endpoints
Global Accelerator
Route 53 record in the same hosted zone
You cannot set an ALIAS record for an EC2 DNS name