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.
  3. Now, go to your Cloudflare account, and go to the Firewall settings, Firewall Rules page.
  4. Click the Create a Firewall Rule button
  5. Next,
    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.

  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.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.