- Newest
- Most votes
- Most comments
Hi There
In addition to Abhishek's answer, please also Check CloudFront distribution names
Before routing to CloudFront distributions, be sure that the name of the resource record you create matches a CNAME in the CloudFront distribution.
For example, if the record name is example.com, your CloudFront distribution must use example.com as one of its alternate domain names.
See https://aws.amazon.com/premiumsupport/knowledge-center/route-53-no-targets/
Could you please make sure that you did the below
Alias
You must create an Alias record for the CloudFront distribution to work.
Value/Route traffic to
Choose Alias to CloudFront distributions. The us-east-1 Region is selected by default. Choose the domain name that CloudFront assigned to the distribution when you created it. This is the value that you got in step 1.
The detailed steps are outlined under https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/routing-to-cloudfront-distribution.html
Thanks, the confusion was that CloudFront system indicates not to specify apex for CNAME, but in the case of use with a Route53 alias it is correct.
"You must create an Alias record for the CloudFront distribution to work." this helped me fix our issue of the same nature! thanks @Abhishek Soni !!
Relevant content
- Accepted Answerasked a year ago
- Accepted Answerasked 3 years ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 11 days ago
- AWS OFFICIALUpdated a year ago
Thanks, the confusion was that CloudFront system indicates not to specify apex for CNAME, but in the case of use with a Route53 alias it is correct.