edit-icon download-icon

Step 3: Verify local settings

Last Updated: Jan 15, 2018

Verify the settings in Step 1: Set up the WAF console to make sure that the WAF can handle the traffic. We strongly recommend that you complete this step.

Procedure

  1. Ping the CNAME provided by the WAF to acquire the WAF IP address.

    pinghost

  2. Manually bind the WAF IP address with the domain name in your local hosts file (for example, C:\Windows\System32\drivers\etc\hosts, in Windows). With this, the domain name is solely resolved to the WAF IP in your local PC.

    host

  3. Refresh your local DNS cache (for example, ipconfig/flushdns in Windows CMD) and load this domain name in your browser.

    • If the website loads successfully, your configuration is set correctly.
    • Otherwise, check your configurations or contact Alibaba Cloud Technical Support.
Thank you! We've received your feedback.