The first time a domain name is added to Dynamic Route for CDN (DCDN), DCDN verifies the ownership of the domain name. This ensures that the domain name is added by the owner. If a domain name that belongs to User A is added to DCDN by User B, security issues may arise. If the domain name has passed the verification, the ownership verification is not required when you add the domain name to DCDN for a second time or add the subdomains of the domain name.
Verification methods

Method 1: Add a DNS record to prove the ownership (recommended)
In this topic, image.example.com
is used to demonstrate how to verify 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 this topic, image.example.com
is used to demonstrate how to verify the ownership of a domain name. If your domain
names have already passed ownership verification, skip this topic.
Related API operations
- VerifyDcdnDomainOwner: Adds a DNS record for ownership verification.
- DescribeDcdnVerifyContent: 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 time 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: 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 for 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 is already added to DCDN?
A: No, you do not need to prove the ownership of existing accelerated domain names. For example, you have added the domain name *.example.com to DCDN and the Canonical Name (CNAME) record that is assigned to the domain name works in an expected manner. In this case, you are considered to own the domain name example.com. If you add a subdomain name of example.com, such as **.example.com or ***.example.com, you do not need to perform the ownership verification.
- Q: Do I need to prove the ownership of a domain name if I call the AddDcdnDomain operation
to add the domain name to DCDN?
A: Yes, you need to prove the ownership of the domain name in this case. 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 AddDcdnDomain operation to add the domain name to DCDN.
- 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 address this issue, you can submit a ticket. In the ticket, state the reason why you cannot prove the ownership through the given methods, and include the information that can be used to prove your identity as the domain name owner. Alibaba Cloud will conduct manual verification.