Does anyone know how to map an api gateway in a su...
# help
n
Does anyone know how to map an api gateway in a subaccount to an already created custom domain in a parent account? Is that possible? I’m slowly moving services into environment specific accounts, but the domain will still be registered in the parent. And there are api gateways in that parent account already mapped. so i can’t remove it.
f
Hey @Nathan, if the domain is hosted in Route 53, you can delegate a subdomain to another AWS account. Here’s an example https://serverless-stack.com/chapters/share-route-53-domains-across-aws-accounts.html#delegate-domains-across-aws-accounts
Ignore the section about SEED.
n
Thanks Frank!
Hi Frank. I don’t entire get what is going on here. If I create a hosted zone on a sub account, what is it actually doing when I link it? Do I need to register a new domain name?