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.

To do that,

  1. First, go to your MainWP Dashboard
  2. On the MainWP > Status 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 Firewall settings, Firewall Rules page.Whitelist your MainWP Dashboard in Cloudflare Firewall 2
  4. Click the Create a Firewall Rule buttonWhitelist your MainWP Dashboard in Cloudflare Firewall 3
  5. Next, Whitelist your MainWP Dashboard in Cloudflare Firewall 4
    1. Give your rule a Name
    2. In the Field menu, select IP Address
    3. In the Operator menu, select Equals
    4. In the Value field, enter the previously noted IP Address of your MainWP Dashboard.
    5. For the end, in the Choose an action field, select Allow
  6. 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 5

  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