This document only describes how to add a custom acceleration domain name and enable CDN acceleration on the COS Console. For more information on how to add a custom domain name using the CDN Console, see Connecting Domain Names.
A maximum of 10 custom domain names can be added on the COS Console.
Log in to the COS Console. Click Bucket List on the left sidebar to open the Bucket List page.
Click on the bucket for which to configure the domain name to enter the bucket configuration page.
Click Domain Management on the left, locate Custom CDN Acceleration Domain, and click Add Domain to configure the following options. (If you have used "Custom Domain Name" in a previous version of the COS console, the new version will still display "Custom Domain Name" instead of “Custom CDN Acceleration Domain”.)
Domain: Enter the custom domain name to be bound (e.g.
www.example.com). Ensure that the domain name in Mainland China has obtained ICP filing, and a corresponding CNAME has been configured for the domain name with the DNS service provider. For more information, please see CNAME Configuration.
Acceleration Region: supports CDN acceleration for Mainland China, Hong Kong, China, and overseas regions, and global acceleration for buckets across all regions.
Origin Server Type: You can select “Default origin server” or “Static website origin server”. Select the first option unless your bucket has enabled Static Website. If you want to use your custom acceleration domain name as static website, select “Static website origin server” here and enable Static Website on your bucket.
Authentication: Enable origin-pull authentication. For private-read buckets, enable Origin-pull Authentication to protect the origin server.
For private-read buckets, if both origin-pull authentication and CDN service authorization are enabled, then signature is not required for accessing the origin server via CDN, and cached resources in CDN will be distributed on the public network, which will affect the data security. Therefore, it is recommended to enable CDN authentication (Step 5).
After CDN acceleration is enabled for a domain name, anyone can directly access the origin server via the domain name. Therefore, if you need to keep your data private, be sure to protect your data in the origin server through Authentication Configuration.