The first time a domain name is added to Alibaba Cloud Content Delivery Network (CDN), Alibaba Cloud CDN verifies the ownership of the domain name. This ensures that the domain name is added by its owner. If a domain name that belongs to User A is added to Alibaba Cloud CDN by User B, security issues may arise. When you add the domain name to Alibaba Cloud CDN again, or add the subdomains of the domain name, ownership verification is not required.
Verification methods

Method 1: Add a DNS record to prove the ownership (recommended)
In the following examples, a.com
is used to demonstrate how to prove the ownership of a domain name. If your domain
names have already passed ownership verification, skip this topic.
Method 2: Upload a verification file to prove the ownership
In the following examples, a.com
is used to demonstrate how to prove the ownership of a domain name. If your domain
names have already passed ownership verification, skip this topic.
Related API operations
- VerifyDomainOwner: Adds a DNS record for ownership verification.
- DescribeVerifyContent: Uploads a verification file for ownership verification.
FAQ
- Q: Why does Alibaba Cloud CDN verify the ownership of domain names?
A: Ownership verification ensures that domain names are added to Alibaba Cloud CDN only by their owners. If a domain name that belongs to User A is added to Alibaba Cloud CDN by User B, security issues may arise.
- Q: If I have multiple Alibaba Cloud accounts and this is the first a domain name is
added to Alibaba Cloud, does Alibaba Cloud CDN verify the ownership of the domain
name for each account?
A: Yes. Each Alibaba Cloud account is identified as an independent user. The first time a domain name is added to Alibaba Cloud CDN, Alibaba Cloud CDN verifies the ownership of the domain name for each account (user).
- Q: After 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 file is used for only ownership verification. After the domain name passes the verification, you can delete the record or file.
- Q: Do I need to prove the ownership of a domain name that has already been added to
Alibaba Cloud CDN?
A: No. For example, you have added the domain name b.a.com to Alibaba Cloud CDN and the Canonical Name (CNAME) that is assigned to the domain name works as expected. In this case, you are deemed to own the domain name a.com. When you add subdomains of a.com, such as xx.a.com or xxx.a.com, Alibaba Cloud CDN does not verify the ownership of the subdomains.
- Q: If I call the AddDomain operation to add a domain name to Alibaba Cloud CDN, do
I need to prove the ownership of the domain name?
A: Yes. You must first add a DNS record or upload a verification file to the root directory of the origin server of the domain name that you want to add. Then, call the AddDomain operation to add the domain name to Alibaba Cloud CDN.
- Q: What can I do if I cannot prove the ownership of my domain name by adding a DNS
record or uploading a verification file to the origin server?
A: To resolve this issue, you can submit a ticket. In the ticket, provide the reason why you cannot use the given methods to prove the ownership of your domain name and include the information that can identify you as the owner of the domain name. Then, wait for Alibaba Cloud to perform manual verification.