Help Center> Web Application Firewall> User Guide> Policy Management> Adding a Domain Name to a Policy
Updated on 2024-04-25 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.

If you have enabled enterprise projects, ensure that you have all operation permissions for the project where your WAF instance locates. Then, you can select the project from the Enterprise Project drop-down list and configure protection policies for the domain names in batches.


A website has been added to WAF.


  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 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 More > Delete in the Operation column of the policy you want to delete.
    Figure 1 Selecting one or more domain names

  7. Click Confirm.