transfer domain to another account

2023. 1. 2. 15:16AWS/Amazon Route 53

728x90
SMALL

- 개요

domain을 다른 AWS Account로 이관하는 방법은 아래 순서로 진행을 해야 한다

 

 

- 1. 기존 account

>> aws sts get-caller-identity --query "Account" --output text
1234567890
root@ ~
>> aws route53domains list-domains --region us-east-1
{
    "Domains": [
        {
            "DomainName": "example.com",
            "AutoRenew": true,
            "TransferLock": true,
            "Expiry": "2055-04-05T16:39:07+09:00"
        }
    ]
}
root@ ~
>> aws route53domains transfer-domain-to-another-aws-account --domain-name example.com --account-id 0987654321 --region us-east-1
{
    "OperationId": "n123456-tr32-4433-bd37-23523423456324634563",
    "Password": "AJSDFgkj#4#@"
}
 
 
 
- 2. 신규 account
root@ ~$ aws sts get-caller-identity --query "Account" --output text
0987654321
taegu@taegukang-PC:~$ aws route53domains list-domains --region us-east-1
{
    "Domains": []
}
root@ ~$ aws route53domains accept-domain-transfer-from-another-aws-account --domain-name example.com --password AJSDFgkj#4#@ --region us-east-1
{
    "OperationId": "n123456-tr32-4433-bd37-23523423456324634563"
}
taegu@taegukang-PC:~$ aws route53domains list-domains --region us-east-1
{
    "Domains": [
        {
            "DomainName": "example.com",
            "AutoRenew": true,
            "TransferLock": true,
            "Expiry": "2025-12-05T10:56:56+09:00"
        }
    ]
}
 
 
 
- 3. 기존 account
root@ ~
>> aws sts get-caller-identity --query "Account" --output text
1234567890
root@ ~
>> aws route53domains list-domains --region us-east-1
{
    "Domains": []
}

 

 

- 중요

신규 계정에 hosted zones에 생성된 NS 정보를 Registered domain의 Name Servers에서 수정

 

 

- 작업 확인

root@ ~
>> dig @8.8.8.8 +short example.com NS
ns-4444.awsdns-99.org.
ns-3333.awsdns-88.co.uk.
ns-123.awsdns-70.com.
ns-456.awsdns-05.net.
 
 
728x90
LIST

'AWS > Amazon Route 53' 카테고리의 다른 글

예상치 못한 AWS 인보이스 메일  (0) 2024.02.19
route53 dns query logging  (0) 2022.12.06
internal domain 못 찾는 경우  (0) 2022.11.11