1. Home
  2. Docs
  3. Website Firewall
  4. Configuration
  5. Testing the WAF Before Changing the DNS

Testing the WAF Before Changing the DNS

To make sure the WAF is working as expected before changing the DNS records for real, you can configure your operating system to use the Sucuri WAF IP address when accessing your website.

To do that, you just need to edit a specific file on your operating system and this process is cover in great details on the following article:
https://docs.sucuri.net/website-firewall/troubleshooting/bypassing-the-waf-for-testing/

You will follow the exactly procedure of this article, however, instead of using the hosting IP address as explained on the very first step of that article, you’ll use the WAF IP address that can be found on the the main page of your domain’s WAF dashboard:

WAF IP Address

Once you edited your ‘hosts’ file as instructed, use the incognito mode of the browser to make sure it didn’t cached the DNS.

Was this article helpful to you?