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.

Note

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.

Prerequisites

The website you want to protect has been connected to WAF.

Adding a Domain Name to a Policy

  1. Log in to the management console.

  2. Click image1 in the upper left corner of the management console and select a region or project.

  3. Click image2 in the upper left corner and choose Web Application Firewall (Dedicated) 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.

    **Figure 1** Adding a domain name to a policy

    Figure 1 Adding a domain name to a policy

  6. Select one or more domain names from the Domain Name drop-down list.

    Important

    • 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.

    **Figure 2** Selecting one or more domain names

    Figure 2 Selecting one or more domain names

  7. Click Confirm.