Help Center> Content Delivery Network> FAQs> Functions and Usage> Usage> Can Wildcards Be Used as Part of an Acceleration Domain Name?
Updated on 2024-02-26 GMT+08:00

Can Wildcards Be Used as Part of an Acceleration Domain Name?

Yes. A wildcard, *, allows multiple secondary domain names to be included by the same value. All these secondary domain names point to the same IP address. For example, if you add *.test.com to CDN as an acceleration domain name and have it resolved to the CNAME record provided by CDN, CDN acceleration will apply to all level-2 domain names under *.test.com, such as a.test.com, by default. However, CDN acceleration will not apply to level-3 domain names such as b.a.test.com.

The following are the rules for adding wildcards to domain names:

  • If you add a wildcard to a domain name for a particular account, you cannot add any of the level-2 domain names under that domain name to other accounts.
  • You will be billed for the acceleration service provided to all of the level-2 domain names under a wildcard domain name. If there are multiple level-2 domain names, billing will be based on the traffic generated by the domain name with the wildcard, not on each of the level-2 domain names.

You can log in to the CDN console, choose Domains in the navigation pane, and click Add Domain Names to configure a wildcard domain name.

Usage FAQs

more