Route 53 Alias problem

0

I have a type A record and I would like it to alias another DNS record that is pointing to a CNAME, but an error occurs. Would there be any way to adjust this redirection? How is today: domain.com A ip.... www.domain.com CNAME name... I'm trying to solve the problem of multiple hops to reach the site. The website is hosted on an aws instance. Error: (InvalidChangeBatch 400: RRSet of type CNAME with DNS name domain.com. is not permitted as it conflicts with other records with the same DNS name in zone domain.com.)

Luiz
질문됨 일 년 전631회 조회
1개 답변
0

Hi Luiz,

If I understood correctly, you want to point an alias record to another Route53 record which is a CNAME. That is not possible as Route53 alias cannot point to a CNAME record. Reference: https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/resource-record-sets-choosing-alias-non-alias.html#:~:text=Unlike%20a%20CNAME,a%20CNAME%20record).

Also, keep in mind that you cannot create a CNAME for the apex domain and, in addition to that, you cannot create subdomains of a domain that has a CNAME pointing to it. Reference -> https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/ResourceRecordTypes.html#CNAMEFormat

profile pictureAWS
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠