All Products
Search
Document Center

ApsaraVideo Live:Verify the ownership of a domain name

Last Updated:Jan 13, 2023

When you add a domain name to ApsaraVideo Live for the first time, ApsaraVideo Live verifies the ownership of the domain name. This topic describes how to verify the ownership of a domain name by using a DNS record or a verification file.

Background information

After you pass the verification, ApsaraVideo Live identifies you as the owner of the domain name. The second time you add the domain name to ApsaraVideo Live or if you add a subdomain name of the domain name to ApsaraVideo Live, ownership verification is not required.

You can use a DNS record or upload a verification file to prove the ownership. In the following examples, example.com is used to show you how to verify the ownership of a domain name.

Method 1: Use a DNS record (recommended)

When you add a domain name to ApsaraVideo Live, you can add a DNS record to prove that you own the domain name.

  1. Obtain the record type, hostname, and record value.

    1. Log on to the ApsaraVideo Live console.

    2. In the left-side navigation pane, click Domains. On the page that appears, click Add Domain. When you add a domain name to ApsaraVideo Live for the first time, add a TXT record as prompted. Record the record type, hostname, and record value, which are needed in subsequent steps.

    3
  2. Add a DNS record.

    Note

    Domain verification and TXT records can only be configured on the root domain.

    1. Log on to the Alibaba Cloud DNS console.

      In this example, Alibaba Cloud DNS is used to add a DNS record. You can add a DNS record through other service providers such as DNSPod and Xinnet in a similar way.

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

    3. Click Add DNS Record. Enter the record type, hostname, and record value that you obtained in Step 1.

    2
  3. Verify the ownership of your domain name.

    Return to the ApsaraVideo Live console. Click Verify.

Method 2: Upload a verification file

When you add a domain name to ApsaraVideo Live, you can upload a verification file to prove that you own the domain name.

  1. Log on to the ApsaraVideo Live console.

  2. In the left-side navigation pane, click Domains. On the page that appears, click Add Domain. Then, click the Method 2: Verification File tab.

    4

  3. Download the verification.html file.

  4. Upload the verification file to the root directory of your origin server. The origin server can be an Elastic Compute Service (ECS) instance, an Object Storage Service (OSS) bucket, a Cloud Virtual Machine (CVM) instance, a Container-Optimized OS (COS) instance, or an Elastic Compute Cloud (EC2) instance.

  5. Alibaba Cloud CDN will access the origin server at http://example.com/verification.html to obtain the verification file and determine whether you have uploaded the verification file as required. Make sure that the file is accessible.

  6. Click Verify.

FAQ

The following issues may occur when you add a domain name to ApsaraVideo Live.

  • Q: Why does ApsaraVideo Live verify the ownership of domain names?

    A: Ownership verification is required to ensure that a domain name is added by its owner. If a domain name of User A is added to ApsaraVideo Live by User B, conflicts and security risks may occur.

  • Q: I have multiple Alibaba Cloud accounts. Do I need to pass ownership verification for each account that I use to add a specific domain name to ApsaraVideo Live for the first time?

    A: Yes. Each Alibaba Cloud account is considered as an independent user. When you use an account to add a domain name to ApsaraVideo Live for the first time, the account must pass ownership verification.

  • Q: If a domain name passes ownership verification after I add a DNS record or upload a verification file, can I delete the record or file?

    A: Yes. The required DNS record or verification file is used only to verify the ownership. After you pass ownership verification, you can delete the record or file.

  • Q: Do I need to verify the ownership of a domain name that has been added to ApsaraVideo Live?

    A: No. For example, if you have already added the domain name demo.aliyundoc.com to ApsaraVideo Live and the CNAME that is assigned to the domain name works as expected, you are deemed to own the domain name aliyundoc.com. If you add subdomain names of aliyundoc.com, such as learn.aliyundoc.com and guide.aliyundoc.com, ownership verification is not required.

  • Q: Do I need to verify the ownership of a domain name if I call the AddDomain operation to add the domain name to ApsaraVideo Live?

    A: Yes. The methods to verify the ownership of the domain name in this case are similar to those added to ApsaraVideo Live by using the console. You can add a DNS record or upload the required verification file to the root directory of your origin server. Then, call the AddLiveDomain operation to add the domain name to ApsaraVideo Live.

  • Q: What can I do if I cannot verify the ownership of my domain name by adding a DNS record or uploading a verification file?

    A: To address this issue, you can submit a ticket. In the ticket, provide the reason why you are unable to verify the ownership of a domain name by using the given methods, and include the information that can be used to identify you as the owner of the domain name. Then, wait for Alibaba Cloud to perform manual verification. For more information about how to submit a ticket, see Contact us.