All Products
Search
Document Center

CDN:Copy configurations to domain names

Last Updated:Mar 02, 2026

If you have multiple domain names that accelerate resources on the same origin server and require the same settings, use the copy configurations feature to batch-apply configurations from one domain name to others. This eliminates the need to configure each domain name individually.

Warning

This action cannot be undone. Make sure that the configurations that you want to copy are correct. Exercise caution when you copy configurations to domain names with high traffic or bandwidth usage to prevent unexpected financial losses.

Limits

  • Origin information and basic information (CNAME, business type, and acceleration region) cannot be copied at the same time.

  • SSL certificates cannot be copied from one domain name to another.

  • Special configurations applied by submitting a ticket cannot be copied.

How copied configurations are applied

When you copy configurations to a destination domain name, the behavior depends on the configuration type.

Configuration type

Behavior

Custom HTTP request headers and response headers

Additive. Copied headers are added to the existing headers. Existing headers are not removed.

HTTP request headers (new version) and response headers

Overwrite. Copied configurations replace the existing configurations.

Feature switches, Referer whitelist/blacklist, and IP whitelist/blacklist

Overwrite. Copied configurations replace the existing configurations.

Additive behavior example: If a destination domain name has 2 custom headers and you copy 5 headers to it, the domain name has 7 headers after the operation.

Overwrite behavior example: If the cache_control header is set to private on the destination domain name and you copy a configuration where cache_control is set to public, the value changes to public.

Procedure

  1. Log on to the Alibaba Cloud CDN console.

  2. In the left-side navigation pane, click Domain Names.

  3. On the Domain Names page, find the domain name from which you want to copy configurations, and click Copy Configurations in the Actions column.

  4. Select the configuration items that you want to copy, and then click Next.

  5. Select the destination domain names, and then click Next. You can enter a keyword to search for domain names.

  6. In the Copy Configurations dialog box, verify the configurations and destination domain names, and then click OK.