1 Answer
- Newest
- Most votes
- Most comments
2
To create an Alias record in Route 53 that points www.example.com
to your CloudFront distribution, the domain name www.example.com
must be included in the list of alternate domain names (CNAMEs) for the CloudFront distribution.
This can be found under the CF Distribution Settings:
1. Click on the “Distribution Settings” button.
2. Navigate to the “General” tab.
3. Edit Alternate Domain Names (CNAMEs):
From the documentation
CloudFront distribution
Specify the domain name that CloudFront assigned when you created your distribution.
Your CloudFront distribution must include an alternate domain name that matches the name of the record. For example, if the name of the record is acme.example.com, your CloudFront distribution must include acme.example.com as one of the alternate domain names. For more information, see Using Alternate Domain Names (CNAMEs) in the Amazon CloudFront Developer Guide.
answered 6 months ago
Relevant content
- asked 2 years ago
- Accepted Answerasked 8 months ago
- asked 2 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 14 days ago
Thanks! All working now.
I created a new SSL certificate and updated the CloudFront distribution with both domain names. Both A record aliases added successfully.