Deleting a Protected Website from WAF
If you no longer want to use WAF to protect your website, you can delete the website from WAF.
Impact on the System
- With cloud mode CNAME access, before deleting 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 Forcibly 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 do not select Forcibly delete the WAF CNAME record, WAF will retain the CNAME record of the domain name for about 30 days before deleting it.
- 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.
Deleting a Protected Website from WAF
- Log in to the WAF console.
- Click
in the upper left corner and select a region or project. - (Optional) If you have enabled the enterprise project function, in the upper part of the navigation pane on the left, select your enterprise project from the Filter by enterprise project drop-down list. Then, WAF will display the related security data in the enterprise project on the page.
- In the navigation pane on the left, choose Access Management.
- Delete the website from the domain name access list.
- Cloud CNAME access
- On the Cloud CNAME tab, locate the row containing the target protected domain name and choose in the Operation column.
- In the Delete Domain Name dialog box, confirm and select an option based on your site requirements and delete the protected website from WAF.
Table 1 Deleting a protected website from WAF Item
Description
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 your domain name still points to the WAF CNAME, after the deletion, a 404 Not Found error will be returned to any requests sent to your domain name.
To prevent negative impacts on your service, modify the DNS configuration before deleting the domain name.
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 your website proxy, such as AAD, CDN, or other cloud acceleration services, still points to the WAF CNAME, after the deletion, a 404 Not Found error will be returned to any requests sent to your domain name.
To prevent adverse impacts on your services, point the domain name to the origin server before deleting the domain name.
CAUTION:If the domain name you want to delete is the first domain name for an AAD instance, deleting it may affect all domain names associated with the AAD instance. You need to delete the domain name on the AAD side before modifying or deleting it on the WAF side.
Forcibly delete the WAF CNAME record (optional).
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.
Retain the policy of this domain name.
Users who have subscribed to the enterprise edition or more advanced edition can choose to retain the protection policy so that it can be reused by other domain names.
If the policy has been applied to multiple domain names, this option is not available when you delete a domain name.
- To prevent accidental deletion of the protected domain name, select a verification method that matches your chosen deletion method and complete it.
- Cloud load balancer access
- On the Cloud Load Balancer tab, locate the row containing the target protected domain name and click Disconnect in the Operation column.
- In the Delete Domain Name dialog box, confirm the information and click OK.
If you want to retain the policy applied to the domain name, select Retain the policy of this domain name.
- Dedicated mode access
- On the Cloud Load Balancer or Dedicated tab, locate the row containing the protected domain name you want to delete and click Delete in the Operation column.
- In the Delete Domain Name dialog box, confirm the information and click OK.
If you want to retain the policy applied to the domain name, select Retain the policy of this domain name.
- Cloud CNAME access
Related Operations
To delete domain names in batches, select the domain names and click Delete above the website list.
If you want to add a website you deleted before to WAF again, follow the process in Access Management.
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot