Is it possible to point a top level domain like http://example.com to a amazon cloudfront distribution?
I know it's possible with CNAME's but as far as i know i need to set a A-name record for the top level domain in the DNS settings.
Is it possible to point a top level domain like http://example.com to a amazon cloudfront distribution?
I know it's possible with CNAME's but as far as i know i need to set a A-name record for the top level domain in the DNS settings.
Q. Can I point my zone apex (example.com versus www.example.com) at my Amazon CloudFront distribution?
Yes. Amazon Route 53 offers a special type of record called an ‘Alias’ record that lets you map your zone apex (example.com) DNS name to your Amazon CloudFront distribution (for example, d123.cloudfront.net). IP addresses associated with Amazon CloudFront endpoints vary based on your end user’s location (in order to direct the end user to the nearest CloudFront edge location) and can change at any time due to scaling up, scaling down, or software updates. Route 53 responds to each request for an Alias record with the IP address(es) for the distribution. Route 53 doesn't charge for queries to Alias records that are mapped to a CloudFront distribution. These queries are listed as “Intra-AWS-DNS-Queries” on the Amazon Route 53 usage report.
Source: Amazon Route 53 FAQs
you can if you add alias in cloudfront then select A or AAAA(ipv6 if enabled on cloudfront)
My understanding is that you cannot create an A record for Cloudfront.
Amazon provides you with a domain name like YourName.cloudfront.net. They need to manage the DNS resolution for that domain name behind the scenes in order to route each request to the nearest edge server.