I’m trying to setup a failover scenario with the loadbalancing within Cloudflare. Somehow it didn’t work properly. I tested this by forcing a 404 on the LIVE site. I expected an automatic switch to the failover site, but that doesn’t happen at all. Here is what I configured in Cloudflare:
A 404 just means a resource requested did not exist. Those are very common. What in your configuration leads you to expect a 404 to fail over to the other server?
A 404 error is a resource doesn’t exist. There is no reason for a load balancer to suppose that a resource that doesn’t exist on originA exists on originB.
I guess you could set up a health monitor for that on a specific resource but probably not a design paradigm I’d have chosen.