All Products
Search
Document Center

Edge Security Acceleration:Verify domain name ownership

Last Updated:Jun 08, 2026

When you first add a domain name to the Dynamic Content Delivery Network (DCDN) console, you must verify domain ownership. After verification, subdomains of the same domain do not require separate verification.

Method 1: Verify ownership with a DNS record (recommended)

This example uses the domain name image.example.com to demonstrate DNS-based ownership verification.

  1. On the verification page, click the Method 1: DNS Settings tab to obtain the values of the Host and Value parameters.

    Important

    Keep the verification page open until verification completes. If DNS verification fails, try Method 2: Verification File.

    DNS record verification

  2. Add a TXT record with your DNS service provider.

    The following example uses Alibaba Cloud DNS. The steps are similar for other DNS providers such as Tencent Cloud and Xinnet.

    1. Log on to the Alibaba Cloud DNS console.

    2. On the Public Zone page, find the root domain example.com and click Settings in the Actions column.

    3. Click Add Record. Set Record Type to TXT, and set Hostname and Record Value to the values from Step 1. 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 verification fails, check the TXT record. Wait for propagation and try again.

    Use the accelerated domain name image.example.com to verify the TXT record:

    Note
    • New TXT records take effect immediately. Modified TXT records take effect based on the TTL (default: 10 minutes).

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

    Windows

    Open Command Prompt and run the nslookup -type=TXT verification.example.com command. Verify the TXT record based on the output.

    image

    Linux

    Run the nslookup -type=TXT verification.example.com command. Verify the TXT record based on the output.

    image

Method 2: Verify ownership with a verification file

  1. On the verification page, click the Method 2: Verification File tab.

    Important

    Keep the verification page open until verification completes.

    file verification

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

  3. 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 of example.com.

  4. Verify that the file is accessible at http://example.com/verification.html, then click Verify.

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

    • If the record value matches the verification file, verification succeeds.

    • Otherwise, verification fails. Ensure the URL is accessible and the uploaded file is valid.

FAQ

Common questions about domain name ownership verification:

  • Q: Why is domain ownership verification required?

    A: Ownership verification ensures only domain owners can add domain names. If User B adds a domain that belongs to User A, security issues may arise.

  • Q: With multiple Alibaba Cloud accounts, is ownership verified for each account?

    A: Yes. Each Alibaba Cloud account is treated as an independent user. Ownership verification is required for each account.

  • Q: Can I delete the DNS record or verification file after verification passes?

    A: Yes. The DNS record or verification file is used only for verification and can be deleted afterward.

  • Q: Is ownership verification required for a domain already added to DCDN?

    No. For example, if you added example.aliyundoc.com to DCDN and the CNAME works as expected, you are deemed the owner of aliyundoc.com. Subdomains such as **.aliyundoc.com or ***.aliyundoc.com do not require ownership verification.

  • Q: Is ownership verification required when calling the AddDcdnDomain API?

    A: Yes. First add a DNS record or upload a verification file to the origin server, then call the AddDcdnDomain operation to add the domain name.

  • Q: What if I cannot verify ownership through DNS or file upload?

    A: Submit a ticket explaining why you cannot complete verification and provide proof of domain ownership for manual review.