- Published on
Subdomain Delegation
- Authors

- Name
- Bowen Y
How to delegate a subdomain to another AWS account in AWS Route53?
Look at the new hosted zone you created for testing.example.com. This can be in the same AWS account, a different AWS account... any AWS account. There's nothing here that is "account" related. This uses standard DNS configuration. The whole of DNS is a hierarchy. The global root can tell you where to find com, and the com servers can tell you where to find example.com, and it's nothing materially different for example.com to tell you where to find testing.example.com instead of giving you a direct answer.
So another related thing is about the DNS verification, you need to add the verification DNS record to the subdomain account.
For example, I have domain example.com registered in the root account A, and I want to delegate the subdomain api.example.com to api account B.
- I create a public
api.example.comhosted zone in the account B - I add the 4 DNS resolver records in the public
example.comhosted zone in account A - I want to issue a TLS certificate for
*.api.example.comin account B, so now we cannot add the verification CNAME DNS record inexample.comhosted zone in account A, buuuut, I need to add the DNS record inapi.example.comhosted zone in account B. That's because you have already delegated all the domains underapi.example.comto account B, as well as the verification DNS.
Reference: https://serverfault.com/questions/817651/can-different-aws-accounts-manage-different-subdomains
