All Products
Search
Document Center

CDN:Disable or remove an accelerated domain name

Last Updated:Oct 12, 2023

If a domain name does not need to be accelerated by Alibaba Cloud CDN, you can disable the domain name or remove it from Alibaba Cloud CDN.

Background information

The following table describes the differences between disabling an accelerated domain name and removing an accelerated domain name.

Scenario

Operation

Description

Suspend acceleration for an accelerated domain name

Disable the accelerated domain name

After an accelerated domain name is disabled, acceleration is suspended. The status of the domain name changes to offline, which corresponds to Disabled in the Alibaba Cloud CDN console. Alibaba Cloud CDN maps the CNAME of the domain name to an invalid domain name. The settings of the domain name are retained on points of presence (POPs). If the resolution settings are cached on the local DNS server, or the mapping between the accelerated domain name and a POP is retained in the hosts file on a user client, data transfer is still generated. For more information about the offline state, see Rules for disabling accelerated domain names.

Note

A disabled accelerated domain name is not removed from Alibaba Cloud CDN. The settings of the accelerated domain name are retained on Alibaba Cloud CDN POPs. If you want to re-enable acceleration for the domain name, go to the Domain Names page, find the domain name, and then click Enable in the Actions column.

Permanently disable acceleration for an accelerated domain name

Remove the accelerated domain name

After an accelerated domain name is removed from Alibaba Cloud CDN, acceleration is permanently disabled and the settings of the domain name are also removed from Alibaba Cloud CDN POPs. You are no longer billed by Alibaba Cloud CDN for the domain name.

Note

If you want to accelerate a removed domain name, re-add the domain name to Alibaba Cloud CDN and complete relevant settings.

Prerequisites

Before you disable or remove an accelerated domain name, we recommend that you migrate the workloads of the domain name to another domain name to prevent service interruptions. You can migrate workloads from a domain name to another domain name by using the following methods:

  • Add a domain name to Alibaba Cloud CDN to replace the one that you want to remove. Then, requests are sent to the new domain name, and workloads are gradually migrated to the new domain name.

  • In the DNS settings of the domain name that you want to remove, map the accelerated domain name to the origin server instead of the CNAME.

Usage notes

If you deactivate Alibaba Cloud CDN, your business may be interrupted. Alibaba Cloud does not allow you to deactivate Alibaba Cloud CDN in the console. However, as long as you do not add domain names to Alibaba Cloud CDN or use features such as EdgeRoutine, you are not charged for Alibaba Cloud CDN. For more information, see How do I deactivate or stop the billing of Alibaba Cloud CDN?

Disable an accelerated domain name

  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 that you want to disable and choose 图标 > Disable in the Actions column.

  4. In the message that appears, click OK.

Remove an accelerated domain name from Alibaba Cloud CDN

  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 that you want to remove and choose 图标 > Delete in the Actions column.

  4. In the message that appears, click OK.

Related API operations