I’ve been digging through videos, articles and forums, but can’t seem to wrap my head around the topic of Load Balancing. More specifically, how to set it up using CloudFlare.
Here’s a summary of what I want to achieve:
Server “Primary” (126.96.36.199) is connected to a .app domain.
Server “Secondary” (188.8.131.52) is connected to a .dev domein.
These servers have different IP addresses, but contain the same applications and all domains are managed (and proxied) by CloudFlare.
Now, very simply put: if server “Primary” fails for any reason, I would like to direct traffic automatically towards server “Secondary”. Let’s call them “website.domain.app” and “website.domain.dev”. I realize how simple this may sound, but so far, I haven’t been able to figure out how this works.
So, that’s pretty much it. Is there someone willing to provide some instructions on how to achieve this using the LB settings inside of CloudFlare? Needless to say, I have tried every possible combination, all resulting in errors, most recently the Error 1000 “DNS points to prohibited IP”.
Instead of listing all my haystack (current settings) and asking you to find the needle, I think it would be more efficient if someone could point out the right instructions
Oh, and, not blaming CF, but… I found their instructions (or lack of) rather disappointing. Also, I tried to contact them directly to ask them this same questions, given how simple this request is and I must be overlooking something critical here (and I’m a paying customer), but they provide no way of contacting them directly.
Allright, hope this wasn’t become too much of a rant. If someone is willing to point me in the right direction, it surely would be appreciated.