All Products
Search
Document Center

Edge Security Acceleration:Transfer a domain name to another Alibaba Cloud account

Last Updated:Oct 22, 2024

You can use the domain name transfer tool to transfer a domain name that you added to Dynamic Content Delivery Network (DCDN) to another Alibaba Cloud account.

Scenarios

  • You can use the domain name transfer tool to transfer domain names between Alibaba Cloud accounts in the following scenarios:

    • You have multiple Alibaba Cloud accounts and want to transfer domain names from Account A to Account B.

    • You are prompted that a domain name has been added when you add the domain name to DCDN. However, you do not know the account to which the domain name belongs, and you want to transfer the domain name to your account.

  • If you want to transfer a domain name that is added to another service, such as ApsaraVideo Live, to DCDN, submit a ticket.

Before you begin

  • Make sure that the old and new accounts for the domain name transfer have no overdue payments.

  • Attach the AliyunDCDNFullAccess policy to the RAM user if you want to transfer a domain name as a RAM user. For more information, see Grant permissions to the RAM user.

Usage notes

  • To ensure security, you can transfer only one domain name at a time.

  • If the number of domain names that you have added to an account reaches the upper limit, go to the Quota Center to increase the upper limit before you transfer the domain name. For more information, see Quota management.

  • If the domain name that you want to transfer is still providing services, we recommend that you switch the traffic to another domain name and then switch it back after the domain name transfer is complete. Do not transfer domain names that are providing services.

  • If the domain name of the origin server is an OSS or a Function Compute domain name, origin authentication may fail after the transfer, resulting in the origin failure. Check the read permissions of the origin server first.

  • If you have enabled WAF or DDoS mitigation for your original account but not for the new account, the domain name cannot be transferred.

  • If you have configured WAF or DDoS mitigation for the domain name that you want to transfer, or the domain name is restricted from being transferred, we recommend that you submit a ticket.

  • If you have configured an SSL certificate for the domain name that you want to transfer, you are not notified of the certificate expiration after the domain name is transferred to another account. You need to re-upload the certificate to the new account.

  • After you transfer a domain name to the new account:

    • You cannot use the resource plan of the old account to offset traffic fees that are generated by the domain name. Resource plans cannot be transferred to another account.

    • The resource groups and tags that are associated with the domain name also change. If you use resource groups or tags to manage the domain name, you need to configure resource groups or tags in the new account.

  • Make sure that the wildcard domain name and the exact match domain name of the same root domain, such as .aliyundoc.com and example.aliyundoc.com, belong to the same account. Otherwise, configuration conflicts may occur. The configuration of the exact match domain name prevails.

  • Before you transfer a domain name, you need to disable features that are enabled for the old account, such as data monitoring, logs, and operations reports. If you do not disable the features, logs and reports continue to be delivered to the old account and fees are continuously generated. After you transfer a domain name to the new account, you need to configure the features for the domain name in the new account.

  • If your domain name is restricted from being transferred, a message is displayed during the transfer. You can submit a ticket to reach technical support.

Procedure

  1. Log on to the DCDN console.

  2. In the left-side navigation pane, click Domain Names.

  3. In the upper-right corner of the Domain Names page, click Domain name transfer.

  4. After you read and check the instructions, click OK.

  5. Enter the domain name that you want to transfer and verify the ownership of the domain name. For more information, see Verify the ownership of a domain name.

  6. Click Transfer.

Verify the ownership of a domain name

Method 1: Use a DNS record (recommended)

  1. In the Verify Domain Ownership section, click Method 1: Use DNS Record.

    Important

    Do not close the verification page before the verification is complete. If DNS record verification fails, you can use Method 2: Upload a verification file.

    image

  2. Add a TXT record in the system of your DNS service provider.

    The following example shows how to add a TXT record to the DNS settings at Alibaba Cloud DNS. You can use similar methods to add TXT records to the systems of other DNS providers, such as Tencent Cloud and Xinnet.

    1. Log on to the Alibaba Cloud DNS console.

    2. On the Domain Name Resolution page, find the root domain example.com and click DNS Settings in the Actions column.

    3. Click Add DNS Record, set the Record Type parameter to TXT, set the Hostname and Record Value parameters to the values that are obtained in Step 1, and then use the default values for other parameters.

      image

    4. Click OK.

  3. After the TXT record takes effect, log on to the DCDN console and click Verify.

    If a message indicating that the domain name fails the verification appears, check whether the TXT record is correct. Wait for the TXT record to take effect and try again.

    The accelerated domain name image.example.com is used in the following examples to check whether the TXT record is correct.

    Note
    • If you add a TXT record, the TXT record immediately takes effect. If you modify a TXT record, the amount of time that is required for the updates to take effect is based on the TTL. The default TTL is 10 minutes.

    • If nslookup is not installed on Linux, you can run the yum install bind-utils command on CentOS or the apt-get install dnsutils command on Ubuntu to install nslookup.

    Windows

    Open Command Prompt in Windows, and then run the nslookup -type=TXT verification.example.com command. You can check whether the TXT record is correct based on the output.

    image

    Linux

    Run the nslookup -type=TXT verification.example.com command. You can check whether the TXT record is correct based on the output.

    image

Method 2: Upload a verification file

  1. In the Verify Domain Ownership section, click Method 2: Use HTML File.

    Do not close the verification page before the verification is complete.

    image

  2. Click verification.html to download the verification file.

  3. Upload the verification file to the root directory on the server of the root domain name. The server can be an Elastic Compute Service (ECS) instance, an Object Storage Service (OSS) bucket, a Cloud Virtual Machine (CVM) instance, a Cloud Object Storage (COS) instance, or an Elastic Compute Cloud (EC2) instance. For example, if the domain name is image.example.com, you need to upload the file to the root directory of example.com.

  4. After you make sure that the verification file is accessible from http://example.com/verification.html, click Verify.

    DCDN accesses http://example.com/verification.html on your server for verification.

    • If the record value in the file is the same as the record value in the verification file, the verification is successful.

    • Otherwise, the verification fails. Make sure that the preceding URL is accessible and the file that you uploaded is valid.

  5. Click Transfer to complete the verification.