Updated on 2024-06-28 GMT+08:00

Notes and Constraints

Before connecting a domain name to Huawei Cloud CDN, understand CDN's requirements on domain names and origin servers to prevent service loss caused by violations.

Domain Name Requirements and Specifications

Item

Description

Domain name

  • Outside the Chinese mainland
    • The domain name has passed content moderation.
  • Europe
    • The domain name has passed content moderation.

Acceleration domain name

Basic specifications:

  • A domain name can contain up to 75 characters, including letters, digits, hyphens (-), and periods (.).
  • You can add up to 100 domain names under each account.
  • An acceleration domain name must be unique.
  • CDN does not allow websites containing illicit content. The existing domain names connected to CDN are reviewed regularly. If a domain name involves any violations, CDN acceleration will be disabled for the domain name and other domain names in your account.
  • If a domain name has been in the Disabled or Rejected state for more than 120 days, CDN starts the domain name deletion process and deletes the domain name records after confirmation. If CDN acceleration is required for the domain name, add the domain name again.
  • If a domain name has not been accessed for more than 180 days, CDN starts the domain name suspension process and disables CDN acceleration for the domain name after confirmation.

Rules for handling outstanding payments and attacks:

  • If a site is attacked, CDN PoPs will bear the attack traffic. Therefore, the origin server will not break down. If CDN PoPs fail to provide services due to heavy attack traffic, CDN will temporarily ban the domain name, change its status to Disabled, and disable the acceleration service for it. CDN PoP resources are occupied during attacks. Therefore, related fees are generated.
Wildcard domain name specifications: You can add a domain name including a wildcard (*). For example, if you add *.test.com to CDN as an acceleration domain name and have it resolved to the CNAME domain name provided by CDN, all of the level-2 domain names under *.test.com, such as a.test.com, will enjoy CDN acceleration by default. However, level-3 domain names (such as b.a.test.com) would not.
  1. If you add a wildcard domain name to a particular account, you cannot add any of the level-2 domain names under that domain name to other accounts.
  2. 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 wildcard domain name, not on each of the level-2 domain names.
    NOTE:

    When purging cache or prefetching content of a wildcard domain name, perform cache purge or prefetch for each subdomain name separately. The following is an example:

    A wildcard domain name *.a.com has subdomain names 1.a.com, 2.a.com, and 3.a.com.

    You need to enter URLs of content under a specific subdomain name for cache purge, for example, http://1.a.com/abc.jpg, instead of http://*.a.com/abc.jpg.

Content Moderation

Item

Description

Content moderation

CDN does not allow websites that violate related laws and regulations, including but not limited to:

  • Websites that contain pornographic content or content related to gambling, illegal drugs, frauds, or infringement
  • Gaming websites that run on illegal private servers
  • Websites that provide pirated games/software/videos
  • P2P lending websites
  • Unofficial lottery websites
  • Unlicensed hospital and pharmaceutical websites
  • Inaccessible websites or websites that do not contain any substantial information
    NOTE:
    • If your domain name content violates related laws and regulations, you shall bear the related risks.
    • If any pornographic content or content related to gambling, illegal drugs, or frauds is found on your domain name, the domain name and other domain names that use the same origin server will be deleted from CDN and can no longer be connected to CDN. Acceleration domain name quota of the account will be reduced to 0.

Origin Server Specifications and Constraints

Item

Description

Origin server

  • You can add up to 30 origin servers for each acceleration domain name.
  • An origin server address contains up to 250 characters.
  • IP address
    • If an IP address is used as the origin address, CDN PoPs access the IP address directly to pull origin content.
    • Enter up to 15 IP addresses for the primary origin server.
  • Domain name
    • You can enter only one origin domain here.
    • An origin domain cannot be the same as an acceleration domain name.
    • You can also enter the domain name of an object storage bucket.
    NOTE:
    • Private buckets cannot be used as origin servers.
    • If you use an object storage bucket as your origin server, the object storage service will charge the CDN origin pull traffic based on its billing standards.

Quotas

Item

Description

Domain name quota

Quotas are enforced for service resources on the platform to prevent unforeseen spikes in resource usage. Quotas limit the number or amount of resources available to users. If an existing resource quota cannot meet your service requirements, submit a service ticket to increase the quota.

  • Number of domain names: 100.
  • Cache purge (file): 2,000 records/day.
  • Cache purge (directory): 100 records/day.
  • Cache prefetch: 1,000 records/day.

Other Constraints

Item

Description

Origin pull

  • The default timeout interval of origin pull is 30s.

File

  • File upload: You can upload a file with up to 300 MB to CDN. Traffic fees will be charged for file upload.

Request method

GET, PUT, POST, and DELETE.