How can we help?

Table of Contents

Whitelist your MainWP Dashboard in Cloudflare Firewall

If you can’t connect a website to your MainWP Dashboard because your Cloudflare Firewall is blocking requests from your MainWP Dashboard, you can easily whitelist your MainWP Dashboard in the Firewall settings by creating custom Firewall rules.

Note: If whitelisting the Dashboard in Cloudflare Firewall does not solve the issue, it may be necessary to also turn off Cloudflare Bot Fight Mode, which can be found on Cloudflare Dashboard > Security > Bots page.

To do that,

  1. First, go to your MainWP Dashboard
  2. On the MainWP > Info > Server page, locate your MainWP Dashboard IP address and note it down.Whitelist your MainWP Dashboard in Cloudflare Firewall 1
  3. Now, go to your Cloudflare account, and go to the Security > WAF page.Whitelist your MainWP Dashboard in Cloudflare Firewall 2
  4. Click the Create firewall rule button
  5. Next,
    Whitelist your MainWP Dashboard in Cloudflare Firewall 3
    1. Give your rule a Name
    2. In the Field menu, select IP Source Address, In the Operator menu, select Equals, In the Value field, enter the previously noted IP Address of your MainWP Dashboard.
    3. In the Choose Action dropdown, select Skip
    4. From the WAF components to skip, Select Security Level
    5. Click the Deploy button

If whitelisting your Dashboard IP doesn’t help,  you can try to alter the Firewall rule.

Whitelist your MainWP Dashboard in Cloudflare Firewall 4

  1. In the Field menu,  select Referrer.
  2. In the Operator field, select Contains.
  3. In the Value field, enter your MainWP Dashboard site URL

Even if you can connect the website, you can still do this to ensure that the Cloudflare Firewall won’t start blocking requests and cause your child site to get disconnected.

Still Have a Questions?
Search for additional solutions in the MainWP Community or start your own discussion