Help Center> Content Delivery Network> User Guide> Domain Name Management> Enabling/Disabling CDN for a Domain Name
Updated on 2024-03-13 GMT+08:00

Enabling/Disabling CDN for a Domain Name

Scenarios

You can enable or disable CDN for your domain names on the Domains page in the CDN console.

Precautions

  • Before disabling CDN for a domain name, have your domain requests resolved to the origin server or a CNAME record that is not allocated by Huawei Cloud CDN to prevent service interruptions.
  • 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.
  • Domain name settings are still retained. If the local DNS of a user has cached the resolution record or the user binds the domain name with a point of presence (PoP) in the hosts file to forcibly resolve requests, CDN will refuse to provide services for the user after receiving the requests. However, the corresponding traffic and request data will be generated and charged.

Viewing Basic Domain Information

On the Domains page of the CDN console, click Configure in the row that contains the target domain name. On the Basic Settings tab, view the basic information about the domain name.

Figure 1 Basic domain information
  • Domain statuses include Enabled, Disabled, Configuring, Error, Reviewing, Rejected, and Removing.
  • You can add remarks to a domain name.

Disabling CDN for Domain Names

You can disable CDN for a domain name whose status is Enabled or Error. After CDN is disabled, CDN will no longer provide acceleration services for your domain name, but the domain configurations will remain. To restore the acceleration service, enable CDN again.

Disabling CDN for a single domain name

  1. On the Domains page of the CDN console, choose More > Disable in the Operation column of the row that contains the domain name for which CDN is to be disabled.
    Figure 2 Disabling CDN for a domain name
  1. Confirm the information about the domain name and click Yes.

Disabling CDN for multiple domain names

On the Domains page of the CDN console, select the domain names for which CDN is to be disabled, and click Disable above the domain name list.

Figure 3 Disabling CDN for multiple domain names

Enabling CDN for Domain Names

You can enable CDN for a domain name whose status is Disabled.

Enabling CDN for a single domain name

  1. On the Domains page of the CDN console, choose More > Enable in the Operation column of the row that contains the domain name for which CDN is to be enabled.
    Figure 4 Enabling CDN for a domain name
  2. Confirm the information about the domain name and click Yes.

Enabling CDN for multiple domain names

On the Domains page of the CDN console, select the domain names for which CDN is to be enabled, and click Enable above the domain name list.

Figure 5 Enabling CDN for multiple domain names