Cloudflare DevelopersCD
Cloudflare Developersโ€ข17mo agoโ€ข
3 replies
william.

Loadbalancing failover only

Hello there, i'm very uneducated with load balancing. A month ago I subscribed to CF loadbalancing and created my two endpoints (which are two OVH servers with different IP & location).

The loadbalancing works well, request sent to my api.xxxxx.xxx will sometime end up on the first server or on the other which is expected behavior I guess.

I want to change the way it works by sending all the request to the first server when the first server is healthy. I want to send to server 2 only when server 1 is down.

I don't see this option it the "Traffic steering" step so I'm wondering how to achieve that ? I tried setting the server 2 weight to like 1% but it doesn't seem to change anything.

Thank you very much !
Was this page helpful?