I’m trying to find out how to bind A record created in AWS Route 53 hosted zone and my custom domain artem-dev.link bought not on AWS. Here is my A record directs to Cloudfront distribution:
And this is how my domain provider host records settings section look like:
So, I need an ipv4 address for adding A record, but I can’t find it on AWS.
2
Answers
An A-type record only allows to route to IPv4. If you want to route to a canonic name (like artem-dev.example.com), you need to create a CNAME record. (Also see comment from @luk2302.) In the case of the CloudFront distribution, the record is actually an alias, which is an AWS native type of record, not an A record in it usual sense.
Your Route53 hosted zone and records do not affect your
artem-dev.link
domain because you haven’t transferred the DNS management from Namecheap to AWS Route 53.You have two options here:
artem-dev.link -> xxx.cloudfront.net
.