Domain not resolving

0

I have a domain (digroup.design) with Google Domains that I've set up to host with Route 53. I've added the name servers to google domains, and added a SPA via Amplify. After adding the domain, the www.digroup.design domain doesn't resolve. The subdomains do however. I'm not sure what else there is to do here. I've read a number of documentation pages and forum posts regarding something like this, but nothing seems to help other than someone from AWS resolving the domain.

Hosted Zone: Z0939413YM7RTWIEPFA

Is there some set up I missed or anything else I can do?

asked 4 years ago329 views
6 Answers
0

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:

https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-https-alternate-domain-names.html

Scott

EXPERT
answered 4 years ago
0

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

answered 4 years ago
0

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

EXPERT
answered 4 years ago
0

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.

answered 4 years ago
0

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:

https://www.digroup.design

and the Route 53 console will show a record named www.digroup.design.

Scott

EXPERT
answered 4 years ago
0

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.

answered 4 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions