Route53: Associate VPC with multiple private hosted zones sharing domain

0

Hi all,

is there is a way to associate the same VPC with multiple private hosted zones sharing the same parent domain.

I'm trying to create the following two private hosted zones to share multiple VPC Interface Endpoints between multiple account using Route53 Resolvers and Rules :

 **- sqs.eu-central-1.amazonaws.com**  
 **- athena.eu-central-1.amazonaws.com**  

When I try to associate the private hosted zones with the same VPC, I'm getting the following error message :

Error: error creating Route53 Hosted Zone:
ConflictingDomainExists: The VPC vpc-********
in region eu- central-1 has already been associated with the
hosted zone Z049196228IN3FVDXAHBO with the same
domain name.

as both of them are sharing the same parent domain (eu-central-1.amazonaws.com).

In this case it won't be possibile to create a parent domain with multiple subdomains.

any suggestions to resolve this issue are welcome

Thanks in advance

asked 4 years ago2.6K views