- Le plus récent
- Le plus de votes
- La plupart des commentaires
Hi,
You'll want to create a www.digroup.design record in your hosted zone. Because you're using HTTPS, you'll also need to add www.digroup.design to Alternate domain names (CNAMEs) in your CloudFront distribution. For more information, see "Using Alternate Domain Names and HTTPS" in the CloudFront Developer Guide:
Scott
Hi Scott,
Thank you for the suggestions.
Your response talks about changing settings in CloudFront, but when I go to CloudFront, I do not have a distribution. The site is built and deployed via AWS Amplify, which seems to distribute it through CloudFront under the hood, but it doesn't populate a distribution in CloudFront.
Regarding your first sentence, what kind of record are you referring to? In Route 53 I can't create a record of the apex domain with a value of "www.digroup.design." Are you referring to creating a "www.digroup.design" record that has a value of "digroup.design?" Or the CloudFront URL? Unfortunately I don't fully understand the suggestion.
Kyle
Hi Kyle,
I glossed over the part about using AWS Amplify. The Amplify doc includes information about using your own domain name. See "Setting Up Custom Domains" in the AWS Amplify Console User Guide:
https://docs.aws.amazon.com/amplify/latest/userguide/custom-domains.html
Scott
Hi Scott,
I've already gone through that documentation and added the domain. I have the hosted zone in Route 53. In the attached screenshot of Route 53, Amplify had automatically added records in Route 53 for "digroup.design" and "dev.digroup.design." In the second screenshot of Amplify, you'll see the domains corresponding to the Git branch. Right now the subdomain "dev.digroup.design" works and resolves properly. It's only the apex domain / "www." that doesn't.
Hi Kyle,
As it turns out, www.digroup.design is a subdomain rather than the zone apex. (The zone apex is the same as the domain name, digroup.design.) Here's the amplify doc about adding a subdomain. You'll want to follow this doc to add www:
https://docs.aws.amazon.com/amplify/latest/userguide/custom-domains.html#custom-domain-subdomains
When you're finished, the Amplify console will show the following custom domain:
and the Route 53 console will show a record named www.digroup.design.
Scott
Thank you so much Scott for your time, patience, and suggestions. That ended up being a much easier fix than I thought, and I feel very silly for not getting there.
Thanks again.
Contenus pertinents
- Réponse acceptéedemandé il y a un an
- demandé il y a 9 mois
- demandé il y a 5 jours
- demandé il y a 9 mois
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a un an