Route 53 Associate multiple private hosted zones with same nameΒΆ

Can I associate multiple private hosted zones with the same domain name to the same VPC?

No you cannot do that. How would DNS resolution even work if they each contained a duplicate record with different values?

Luckily we do no have to think about that because if you try Route53 will give you this error:

Bad request.
(ConflictingDomainExists 400: The VPC vpc-0x10010101 in region ap-southeast-1 has already been associated with the hosted zone Z8KQQQQQQQQU31 with the same domain name.)

You can associate multiple subdomains of the parent to get around this error.

Comments

comments powered by Disqus