I am trying to get the DDoS mitigate setup using CloudFlare, I have followed all the steps required to have it enabled. i.e. Switched on “Under Attack Mode”.
However, in order to fully utilize this service, I understand that I must block all access to the origin server and only allow for CloudFlare IPs to have access via whitelisting. That way all traffic to my site is forced through CloudFlare.
Brilliant, did that…but here is my issue. I ran into the problem whereby all my other domains that are controlled by that server became non-accessible. Understandable as I wanted to force all traffic through CloudFlare. But now these other domains that I use as re-directs cannot be accessed on the origin server in order to perform the redirect.
My question is how to best set this up so that those other domains are working through the same CloudFlare account or is it that I have to create separate CloudFlare accounts change the name servers for each domain and have a page rule for each domain to point traffic to my intended address?
I figure the latter is what I have to do but I wanted to ask if there is an a better way to do this.
Any advice is appreciated, we’re fairly new to CloudFlare.