This topic describes how to add a domain name to the new edition of Dynamic Route for CDN (DCDN) Web Application Firewall (WAF). You can quickly get started with the new edition of DCDN WAF.

Procedure

You can perform the following steps to get started with the new edition of DCDN WAF:

Procedure

Step 1: Apply to enable the new edition of DCDN WAF

To enable the new edition of DCDN WAF, join the DingTalk group 34763106 and request technical support.

Step 2: (Optional) Configure the default protection policy

DCDN WAF provides a built-in basic web protection policy that is used as the default policy to defend against common web application attacks. The attacks include SQL injection, XSS attacks, unauthorized code execution, webshells, and command injection. If the built-in basic protection policy cannot meet your requirements, you can configure a custom default protection policy. For example, if you want to specify different protection actions on the requests from different protected objects, configure a custom default protection policy. For more information, see Configure a default protection policy.

Step 3: Add a domain name for protection

  1. Log on to the DCDN console.
  2. In the left-side navigation pane, choose WAF > Protected Domain Names.
  3. On the Protected Domain Names page, click Add Domain Name.
  4. In the Add Domain Name dialog box, select the domain name that you want to add to DCDN WAF.
    Note You can add up to 50 domain names.
    Add a domain name
  5. Click OK.
    After you add a protected domain name, the default protection policy is automatically configured for the domain name, and you are charged for DCDN WAF.
    Note If you do not configure other default policies in Step 2: (Optional) Configure the default protection policy, only the built-in basic web protection policy is configured for the domain name that you add, and you are charged based on the number of requests that are processed by DCDN WAF.

Step 4: (Optional) Add or modify a protection rule

If you want to modify the status of a protection rule and the action that can be performed for a protection rule, you can modify the protection rule on the Protection Policies page. For example, if you want to change the value of the Action parameter from Block to Monitor, modify the protection rule on the Protection Policies page. For more information, see Configure protection policies.

Modify a protection rule