This topic describes the requirements and limits that apply to domain names when you use Alibaba Cloud CDN. Make sure that your domain names and the related content comply with requirements to avoid potential losses from regulatory violations.
Security limits
Item | Limits |
Security violations | Alibaba Cloud reviews the content served on all accelerated domain names. Domain names that cannot be accelerated by Alibaba Cloud CDN include but are not limited to:
Note
|
Burst bandwidth/QPS throttling rules | According to the Alibaba Cloud International Website Product Terms of Service, if you expect traffic or QPS spikes, including but not limited to on stress tests on bandwidth or QPS, promotional activities, and major releases, on Alibaba Cloud CDN-accelerated services, you need to contact your account manager or contact us to apply for burst bandwidth at least three business days in advance. For major events including but not limited to the Spring Festival Gala and Double 11 Global Shopping Festival, you need to apply for burst bandwidth at least one month in advance.
|
Potential risks of domain name attacks or data transmission abuse | By default, Alibaba Cloud CDN does not provide access control or security protection capabilities. If your domain name is attacked or abused for data transmission, high bandwidth or traffic spikes may occur. In this case, you may receive bills that are higher than expected. High bills that are generated by malicious attacks or data transmission abuse cannot be waived or refunded. For information about how to prevent high bills from being generated, see Configure high bill alerts. |
The domain name is added to the sandbox. | Sandbox: If an accelerated domain name is under attack, such as DDoS attacks or HTTP flood attacks, or faces significant increases in bandwidth or QPS due to traffic spikes that have not been reported to Alibaba Cloud, Alibaba Cloud CDN has the right to determine whether to add the attacked domain name to a sandbox based on factors such as the service status of the domain name and the impact of the attack. This ensures that the acceleration services of other users can work as expected. For more information, see Introduction to sandboxes. If the attack is severe, other accelerated domain names in the same account are also added to the sandbox, and new domain names cannot be added to the account. |
Limits on accelerated domain names
Item | Limits |
Domain name requirements |
|
Requirements for wildcard domain names |
|
ICP filing requirements for domain names | ICP filing: If you set the acceleration region of a domain name to Global or Chinese Mainland Only, you must apply for an ICP number for the domain name. We recommend that you use Alibaba Cloud ICP Filing System to apply for ICP numbers. For more information, see Check the instance for ICP filing and access information. |
Quantity limits |
|
Limits on domain name reclaiming /unsubscribing |
|
Limits on origin servers
Item | Limits |
Origin address length | A domain name cannot exceed 67 characters in length. |
Number of origin severs | You can add a maximum of 20 origin server addresses for each domain name. |
OSS domain |
Note
|
IP |
|
Origin domain name | You can enter the domain name of an origin server. To configure multiple domain names, repeat the preceding steps. Note
|
Function compute domain | Function Compute Domain: Enter a Function Compute domain name that belongs to the current Alibaba Cloud account. If you select this option, you need to configure the Region and Domain Name parameters. For more information, see Configure a custom domain name. |
Limits on origin fetch
Item | Limits |
Length of HTTP request headers in origin requests | An HTTP request header cannot exceed 300 bytes. |
Origin request timeout | By default, the timeout period for origin requests that are transmitted over Transmission Control Protocol (TCP) is 10 seconds. The timeout period for over HTTP is 30 seconds. |
| If the origin server does not return the |
Automatic conversion from HEAD to GET for back-to-origin requests | By default, Alibaba Cloud CDN POPs convert HEAD requests to GET requests before the requests are redirected to the origin server. If you want POPs to redirect HEAD requests to the origin server, you can submit a ticket. |
Default string format conversion of origin request header | After you add origin request headers in the Custom Request Headers dialog box, the strings are converted to camel case during origin fetch, as shown in the following examples:
If you want to disable automatic case conversion, add the following header in the Custom Request Headers dialog box:
|
Cache purge limit
Item | Limits |
Cache purge |
If your daily peak bandwidth exceeds 200 Mbit/s, you can request a quota increase. Alibaba Cloud determines whether to approve your application based on your business requirements. For more information, see Quota management. |
File prefetch | You can prefetch files only by using URLs. Each Alibaba Cloud account can submit up to 1,000 URLs per day. If your daily peak bandwidth exceeds 200 Mbit/s, you can request a quota increase. Alibaba Cloud determines whether to approve your application based on your business requirements. For more information, see Quota management. |
Access control
Item | Limits |
Restrictions on access to Global (Excluding Chinese Mainland) | If you set Region to Global (Excluding Chinese Mainland) for the accelerated domain name, Alibaba Cloud Alibaba Cloud Content Delivery Network prohibits requests from accessing Chinese Mainland POPs. In this case, requests are dispatched to POPs around Chinese Mainland, such as in Hong Kong (China), Japan, or Singapore. |
Differences between Global and Global (Excluding Chinese Mainland) |
|
Size of origin HTTP response headers | The total size of HTTP response headers returned from the origin to POPs cannot exceed 32 KB. Otherwise, the HTTP 502 status code is returned. |
Length of an individual URL or HTTP request header, and total length of URLs and HTTP request headers | HTTP/2:
HTTP/1.1: For the large_client_header_buffers directive, number is set to 4 and size is set to 64 KB. In this case, the length of an individual HTTP request header or an individual URL cannot exceed 64 KB. Otherwise, the HTTP 414 status code is returned. The total size of all HTTP request headers and URLs cannot exceed 256 KB. Otherwise, the HTTP 400 status code is returned. |
Request method | CDN supports the following request methods: Note
|
IoT card | According to the Notice on Printing and Distributing the Trial Implementation Guidelines for the Classification and Security Management of IoT Cards (MIIT Network Security Letter [2020] No. 1173) set forth by the Ministry of Industry and Information Technology (MIIT) of the People's Republic of China, Alibaba Cloud CDN cannot to provide acceleration services for devices that use IoT cards in regions in the Chinese mainland. When devices that use IoT cards attempt to access POPs, the devices may fail to establish connections to the IP addresses of the POPs. |
HTTPS-based access control | If a client does not transfer the Server Name Indication (SNI) information when it initiates an SSL handshake with a CDN POP, the CDN POP cannot guarantee a successful handshake. |
API Limits
Item | Limits |
API call for each account | You can call this API up to 1,000 times per second per account. If the upper limit is reached, the following message is returned:
|
Other limits
Item | Limits |
CNAME | CNAMEs that are assigned by Alibaba Cloud CDN, DCDN, ApsaraVideo Live, or ApsaraVideo VOD are used only for domain name resolution by Alibaba Cloud CDN. If Alibaba Cloud discovers that your CNAME is used for malicious activities, Alibaba Cloud reserves the right to close your Alibaba Cloud account and remove the domain names. |
Files |
|
EdgeScript | By default, you can configure only one script for each domain name. If you want to configure multiple scripts, Custom Request Header. |
Feature configuration | You can add a maximum of 50 configurations, including but not limited to the following features: Custom Request Header, Custom Response Headers, Origin URL Rewrite, Parameter Rewrite, and Cache Expiration. |
Gzip compression and Brotli compression | You can use the Gzip compression or Brotli compression feature to compress the files only if the size of files on the origin server ranges from 1 KB to 10 MB. Files that are smaller than 1 KB or larger than 10 MB are not compressed. |