No DNS resolving - domain verified, hosted zone created, working CloudFront distribution added as record to hosted zone

0

Hi, Problem: I do not receive response from domain, registered and verified by AWS where public hosted zone was created. Zone has three records - two implicit created by AWS (NS, SOA). Third - A record - was created via wizard where Define simple record -> A record -> CloudFront endpoint -> Distribution chosen.... But the distribution is working only on *.cloudfront.net domain but not working on my domain - the alias does not work. I've tried to re-create public hosted zone but it never started to work with my domain. Question: Is there needed some additional zone record or specific settings? Thanks in advance for nay comment. Lukas

lukas
asked 8 months ago239 views
2 Answers
0

First, let's ensure that the CloudFront distribution is properly associated with your domain. In the CloudFront console, make sure that you've added your domain (e.g., example.com) as an alternate domain name in the distribution settings.

Next, verify that the SSL certificate associated with the CloudFront distribution covers your custom domain. If you're using AWS Certificate Manager, ensure that the certificate includes both the domain and subdomains (e.g., *.example.com).

Additionally, check the DNS settings for your domain. Make sure that you have a CNAME record pointing to the CloudFront distribution URL. It's important to verify that the DNS settings have propagated, as this can sometimes take time.

AWS
Shmosa
answered 8 months ago
  • Thx for quick reply. CloudFront alternate domain set - if not I couldn't create A Record in zone for distribution via wizard. Certificate is set as *.example.com. I have there A Record - it enables connect CloudFront endpoint and distribution directly, but yes I've tried instead A Record CNAME too. And no change. I let it propagated for several days.

0

Is your domain registered with AWS or an external registrar?

If it's an external registrar, are your domain records configured to use the Route53 nameservers? Details for the name servers are available in your Route53 hosted zone as below!

Enter image description here

profile picture
answered 8 months ago
  • Thx for quick reply. Domain was transferred from godaddy. I think it was properly released and transferred. I've tried to validate the domain via DNS but it didn't work (pending status for days - and yes I added the record generated by AWS to the zone during this type of validation) - email validation was OK. Now domain is fully under AWS - checked WHOIS. I didn't touch the NS records in the zone - it was generated by AWS. Something somewhere is wrong because even DNS validation didn't work.

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