AWS name server can't recognize domain name

0

I have a hosted public zone with four name servers that were supplied by AWS. I have never changed them, but today I switched the doman example.com to a cloud front distribution by creating an A record. Now when I browse to the website, it times out. "dig" reports that there is no A record, and when I used nslookup to query for my doman, it can't find it. I checked the name servers in Hosted Zone Details and they match the DNS records I have.

gefragt vor einem Jahr219 Aufrufe
3 Antworten
0

Make sure on the A record to the CloudFront distribution that you checked the box so it is an Alias.

profile pictureAWS
EXPERTE
kentrad
beantwortet vor einem Jahr
0

Hi,

Please note that the CloudFront distribution must include an "alternate domain name" that matches the domain name that you want to use for your URLs instead of the domain name that CloudFront assigned to your distribution.

For more details, please see https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/routing-to-cloudfront-distribution.html

profile pictureAWS
jcvip
beantwortet vor einem Jahr
0

Try to use CNAME record instead of alias A Record.

profile picture
EXPERTE
beantwortet vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen