Can I configure a custom hostname to use a load balancer

I have a load balancer proxying all traffic to my primary domain to an origin pool with two servers in it. My main reason for doing this is so that if one of my servers goes down, Cloudflare will detect that it is unhealthy, remove it from the pool, and notify me. Now I want to start offering custom hostnames to my customers so they can use CNAME records to point their own domains to my application. In order for this to be useful, I need traffic on those custom hostnames to be routed through the load balancer, but it looks like the custom hostnames fallback origin must be “a proxied DNS record in your zone”.

Is it possible to make custom hostnames work with load balancers?

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.