Updated on 2025-08-19 GMT+08:00

Adding a Domain Name to a Policy

After adding a policy, you need to add a domain name to the policy for the policy to work on the corresponding website.

Constraints

  • This function is not supported in the standard edition.
  • A protection policy can be applied to multiple protected domain names, but a protected domain name can have only one protection policy.

Adding a Domain Name to a Policy

  1. Log in to the WAF console.
  2. Click in the upper left corner and select a region or project.
  3. (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.
  4. In the navigation pane on the left, click Policies.
  5. In the row containing the target policy, click Add Domain Name in the Operation column.
  6. In the Add Domain Name dialog box, select the domain name to be protected from the Domain Name drop-down list and click OK.

    A policy can protect multiple domain names, but a domain name can be added to only one policy.

    Figure 1 Adding a domain name to a policy

    After the preceding configurations are complete, you can locate the policy and move the cursor over the number next to Protected domains in the Domain Name column to check the domain names protected by the policy.

    A domain name can be added to only one policy. After the preceding operations are complete, the selected domain name will be protected with the current policy.