Updated on 2024-03-14 GMT+08:00

Deleting a Protected Website from WAF

This topic describes how to remove a website from WAF if you no longer need to protect it.

In cloud CNAME mode, before removing a website from WAF, you need to resolve your domain name to the IP address of the origin server, or the traffic to your domain name cannot be routed to the origin server.

Prerequisites

A website domain name has been added to WAF.

Impact on the System

  • In cloud mode, before removing a website from WAF, you need to resolve the domain name to the origin server IP address on the DNS platform, or the traffic to your domain name cannot be routed to the origin server.
  • If you select Forcible delete the WAF CNAME record., WAF will not check your domain name resolution and delete WAF CNAME record immediately. Before enabling this option, make sure you have resolved the domain name to the origin server, or your website will become inaccessible.
  • It takes about a minute to remove a website from WAF, but once this action is started, it cannot be cancelled. Exercise caution when removing a website from WAF.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner of the management console and select a region or project.
  3. Click in the upper left corner and choose Web Application Firewall under Security.
  4. In the navigation pane on the left, choose Website Settings.
  5. In the row containing the website domain name you want to delete, click Delete in the Operation column.
  6. In the displayed confirmation dialog box, confirm the deletion.

    • Cloud mode
      • No proxy used
        • Ensure that related configurations are completed and select The CNAME of the domain name has been deleted from the DNS provider, and an A record has been configured to the origin server IP address, or services carried on the domain name have been brought offline.
        • If you select Forcible delete the WAF CNAME record., WAF will not check your domain name resolution and delete WAF CNAME record immediately. Before enabling this option, make sure you have resolved the domain name to the origin server, or your website will become inaccessible.
        • If you want to retain the policy bound to the domain name, select Retain the policy of this domain name.
      • Proxy used
        • Ensure that related configurations are completed and select The domain name has been pointed to the origin server on the Advanced Anti-DDoS, CDN, or cloud acceleration product side, or services carried on the domain name have been brought offline.
        • If you select Forcible delete the WAF CNAME record., WAF will not check your domain name resolution and delete WAF CNAME record immediately. Before enabling this option, make sure you have resolved the domain name to the origin server, or your website will become inaccessible.
        • If you want to retain the policy bound to the domain name, select Retain the policy of this domain name.
    • Dedicated

      If you want to retain the policy bound to the domain name, select Retain the policy of this domain name.

  7. Click OK. If Domain name deleted successfully is displayed in the upper right corner, the domain name of the website was deleted.

Related Operations

To delete domain names in batches, select the domain names and click Delete above the website list.