Connect Route53 to CNAME outside of AWS

0

I am trying to create a record on my Route 53's Hosted zones. I selected "CNAME – Routes traffic to another domain name and to some AWS resources" as the Record Type and typed the domain, that runs my web application which is running onpremise outside of AWS, in the Value text field. Routing Policy is set to simple routing. When I click Create Record, I get this error:

Error occurred
Bad request.
(InvalidChangeBatch 400: RRSet of type CNAME with DNS name mydomain.it. is not permitted at apex in zone mydomain.it.)

Is it because the domain I typed in the value is not a domain reachable to AWS? I read that In Route53 Alias is only allowed when you have to point to AWS resources, but in my case the Alias field is not selected. Note that if I set a subdomain it works.

Thanks!

1 Answer
0

Take a look at this: CNAME at the apex of a zone.

profile pictureAWS
EXPERT
kentrad
answered a year ago
profile picture
EXPERT
reviewed a year ago
profile picture
EXPERT
reviewed a year 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