Use the domain name transfer tool to move an Alibaba Cloud CDN accelerated domain name to another Alibaba Cloud account.
Use cases
-
Transfer CDN accelerated domain names between Alibaba Cloud accounts. Typical scenarios:
-
You have multiple Alibaba Cloud accounts and want to transfer an accelerated domain name from Account A to Account B.
-
You do not know which account owns the domain name and want to transfer it to your current account.
-
When adding a domain name, you receive the error "The root domain of your domain is reserved by another account" (error code:
DomainReserved). Confirm ownership of the root domain first. If it belongs to you or your organization, contact the administrator of the account that holds the root domain to transfer the domain names to your account. Failed to add an accelerated domain name — Root domain reserved by another account.
Note"Domain name already exists" and "Root domain reserved by another account" are two different scenarios:
-
Domain name already exists: The accelerated domain name (for example,
www.example.com) exists in another Alibaba Cloud account or cloud product. Use the domain name transfer tool to transfer it directly. -
Root domain reserved: The root domain (for example,
example.com) is bound to another Alibaba Cloud account, but the accelerated domain name may not have been added. You cannot use the transfer tool directly. Contact the root domain owner or submit a ticket.
-
-
If the domain name is associated with another cloud product such as ApsaraVideo Live and you want to move it to CDN, submit a ticket for assistance.
Prerequisites
-
Ensure that neither the source nor the destination account has overdue payments. Clear all outstanding balances before the transfer.
-
As a RAM user, you need the AliyunCDNFullAccess permission to perform the transfer. Manage RAM user permissions.
Notes
-
For security reasons, you can transfer only one domain name at a time. Batch transfer is not supported.
-
If the destination account has reached its quota for CDN domain names, increase the quota in Quota Center before the transfer.
-
Keep wildcard domains and specific domains of the same root domain (such as
.aliyundoc.comandexample.aliyundoc.com) in the same account to avoid configuration conflicts. If a conflict occurs, the specific domain configuration takes precedence. -
If the domain name serves live traffic, confirm the following before the transfer to avoid service disruptions:
-
If the origin server is an Alibaba Cloud OSS bucket with private OSS bucket origin fetch enabled for the CDN domain, and you use STS to authenticate requests to the private bucket in the same account, origin fetch may fail after the transfer. Switch to a permanent security token before the transfer.
-
If an SSL certificate is configured for HTTPS, the domain name continues to support HTTPS after the transfer. However, the destination account does not receive certificate expiration reminders. Re-upload the certificate in the destination account to restore reminders.
-
-
Disable data monitoring, log delivery, and operations reports in the source account before the transfer. Otherwise, these features continue to run and incur charges in the source account. Reconfigure them in the destination account after the transfer.
-
After the transfer:
-
Traffic can no longer be offset by resource plans in the source account because resource plans are non-transferable.
-
Resource group and tag associations are not transferred. Reconfigure them in the destination account if needed.
-
-
If the domain name is restricted from transfer, a notification appears. You can submit a ticket for more information.
Procedure
-
Log on to the CDN console.
-
In the left navigation pane, click Domain Names.
-
In the upper-right corner of the Domain Names page, click Transfer Domain Names.
-
Read the transfer notice, select the checkbox to agree, and then click OK.
-
Enter the accelerated domain name to transfer and verify domain ownership by using one of the following methods.
Method 1: DNS verification
-
In the domain name ownership verification section, click Method 1: DNS resolution verification.
Add a TXT record at your DNS provider. Set Record Type to
TXT, Hostname toverification, and Record Value to the auto-generated string that starts withverify_. Click the copy icon to copy the value, then click Confirm Transfer. -
Log on to the Alibaba Cloud DNS console.
-
On the public DNS page, find the root domain
example.comand click DNS Settings in the right-side column. -
Click Add Record. Set Record Type to TXT and enter the Hostname and Record Value provided by Alibaba Cloud CDN in Step 1. Leave other parameters at their default values.
-
Click OK to add the record.
Method 2: File verification
-
On the verification page, click Method 2: Verification File.
-
Click
verification.htmlto download the verification file. -
Upload the verification file to the root directory of your origin server. The server can be an ECS instance, an OSS bucket, a CVM instance, a COS instance, or an EC2 instance. For example, if the domain name is
image.example.com, upload the file to the root directory ofexample.com.NoteThe Alibaba Cloud CDN and backend systems access the
http://example.com/verification.htmlfile on your server for verification.-
If the value matches, the verification succeeds.
-
If the verification fails, check that the file URL is accessible and the correct file was uploaded.
-
-
-
Return to the CDN console and click Confirm Transfer to complete the transfer.
NoteIf the transfer fails, verify your configuration from Step 5 and try again. If the issue persists, go to the Alibaba Cloud Ticket Submission page to submit a ticket.