How can I transfer a Route 53 domain from one AWS account to another AWS account using the AWS CLI?
Last updated: 2020-06-08
How can I transfer an Amazon Route 53 domain from one AWS account to another AWS account using the AWS Command Line Interface (AWS CLI)?
You can transfer a domain from one AWS account to another AWS account at no cost. The transfer does not affect the renewal date or contact information for the domain name registration.
Note: If you receive errors when running AWS CLI commands, make sure that you’re using the most recent AWS CLI version.
- Confirm that you're using the latest version of the AWS CLI. For more information, see Installing the AWS CLI.
- Confirm that you have the following required IAM user permissions to perform the transfer:
- Transfer the domain (for example, "example.com") from Account A to Account B using the transfer-domain-to-another-aws-account API.
- Account B must accept the transfer of the domain using the accept-domain-transfer-from-another-aws-account API. After Account B accepts the transfer, you can manage the domain from Account B.
Note: If Account B doesn't accept the transfer within three days, the transfer request is cancelled.
When you transfer a domain from one AWS account to another, Route 53 doesn't transfer the hosted zone that's associated with the domain. DNS resolution isn't affected if the domain and hosted zone are owned by separate accounts. As a result, transferring the hosted zone is optional. For more information, see Migrating a hosted zone to a different AWS account.