All Products
Search
Document Center

CDN:Copy configurations

Last Updated:Jan 26, 2024

If you want to apply the configurations of a domain name to other domain names in batches, you can use the copy configurations feature to use the same configurations for different domain names. This feature helps reduce costs for manual configuration. For example, if you use multiple domain names to accelerate resources on the same origin server, the configurations of the origin server are the same for the domain names. In this case, you can use this feature to copy the configurations of an existing domain name to destination domain names.

Usage notes

  • After you copy the configurations of one domain name to another domain name, the copy operation cannot be undone. Make sure that the configurations that you want to copy are correct.

  • For domain names that have high traffic or bandwidth usage, proceed with caution to prevent unexpected financial losses.

  • Special configurations that are applied by submitting tickets cannot be copied.

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.

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

    Note
    • You cannot copy the origin information and basic information, including the CNAME, business type, and acceleration region at the same time.

    • You cannot copy SSL certificates from one domain name to another domain name.

    • When you copy custom HTTP request headers and response headers, the headers are added to the destination domain name. For example, if Domain Name A has two request headers and you copy five request headers from Domain Name B to Domain Name A, Domain Name A has seven request headers.

    • When you copy HTTP request headers (new version) and response headers, the headers overwrite the existing headers of the destination domain name. For example, if you set cache_control to private for Domain Name A and to public for Domain Name B. After you copy cache_control from Domain Name B to Domain Name A, cache_control of Domain Name A is set to public.

    • When you copy the configurations of feature switches, Referer whitelist, Referer blacklist, IP whitelist, or IP blacklist to another domain name, the copied configurations overwrite the existing configurations.

    复制配置

  5. Select the domain names to which you want to apply the copied configurations and click Next.

    You can enter a keyword to search for domain names.复制

  6. In the Copy Configurations dialog box, click OK.