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

Adding a Domain Name to a Policy

You can add a domain name to a new policy you think applicable. Then, the original policy applied to the domain name stops working on this domain name.

Prerequisites

A website has been added to 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 Security > Web Application Firewall to go to the Dashboard page.
  4. In the navigation pane on the left, choose Policies.
  5. In the row containing the policy you want to apply to a website, click Add Domain Name in the Operation column.
  6. Select one or more domain names from the Domain Name drop-down list.

    • A protected domain name can use only one policy, but one policy can be applied to multiple domain names.
    • To delete a policy that has been applied to domain names, add these domain names to other policies first. Then, click Delete in the Operation column of the policy you want to delete.

  7. Click Confirm.