Updated on 2024-07-04 GMT+08:00

Copying Domain Configurations to New Domains

This function allows you to add new domain names with the same configuration as that of an existing domain name. You do not need to add and configure domain names one by one.

Constraints

  • You can copy the configuration of a domain name in the Enabled, Disabled, or Rejected state.
  • If a domain name is in the Deleting, Configuring, Reviewing, Error state, its configuration cannot be copied.
  • The configuration of a banned domain name cannot be copied.
  • You can add up to 10 domain names at a time. New domain names occupy your domain quota.
  • Special configuration items set in the backend cannot be copied. If the source domain name has such items, new domain names cannot be added.
  • The domain name status cannot be copied.
  • An HTTPS certificate is bound to a domain name and cannot be copied to other domain names.

Procedure

  1. Log in to Huawei Cloud console. Choose Service List > Content Delivery & Edge Computing > Content Delivery Network.

    The CDN console is displayed.

  2. In the navigation pane, choose Domains.
  3. On the Domains page, click More > Copy Configuration in the Operation column of the row containing the source domain name. On the displayed page, click the To New Domains tab.
    • The copy operation cannot be paused. You can modify the configuration items after the copy is complete.
    • You can copy configuration items listed in Configuration Items That Can Be Copied.
    • After the copy, you can check whether each configuration item of the new domain names matches your services to prevent services from being affected by improper configuration.
    Figure 1 Copying configurations to new domain names
  4. Enter the domain names to be added and click Copy.
  5. In the displayed dialog box, click OK to copy the configuration.
  6. View the copy progress and results of adding domain names.
    Figure 2 Results of adding domain names

Configuration Items That Can Be Copied

Table 1 lists the configuration items that can be copied.

  • The configuration items in the following table are visible on the console. If you have asked the O&M personnel to configure special configuration for the source domain name, the special configuration cannot be copied to new domain names. You can submit a service ticket to configure special configuration for new domain names.
Table 1 Supported configuration items

Category

Item

Basic settings

Enterprise project (If you log in as an IAM user and do not have the permission to access the enterprise project, domain names cannot be added.)

Service type

Service area

Origin server settings

  • The host is also copied. The rules are as follows:
    • If the origin server of the source domain name is an IP address or domain name and a custom host is set, new domain names use this custom host.
    • If the origin server of the source domain name is an IP address or domain name and the host is the source domain name, new domain names use themselves as the host.
    • If the origin server of the source domain name is an OBS bucket, new domain names use the same host as the source domain name.

IPv6 settings

Origin settings

Origin protocol

Origin SNI

Origin URL rewriting

Advanced origins

Range requests

Redirect from origin

ETag verification

Origin response timeout

Origin request header

Cache settings

Cache rules

Browser cache TTL

Status code cache TTL

Access URL rewrite

Access control

Referer validation

IP ACL

User-Agent ACL

Token authentication

Remote authentication

Advanced settings

HTTP header settings (cross-origin requests)

Custom error pages

Smart compression

Request rate limiting

Usage capping

WebSocket settings (copied when the service type of the source domain name is whole site acceleration)

Video settings

Video seek settings

Tag settings

Tags