Adding Tunnel under a Cloudflare Load Balancer

I have a question about adding a Cloudflare Tunnel under a Cloudflare Load Balancer. Here's what I've done so far:

  • I installed Cloudflare Tunnel on the first virtual machine and assigned a public hostname, srv01.example.com, which is accessible. This hostname points to UUID1.cfargotunnel.com using a CNAME record.
  • I created a Load Balancer with the hostname lbdemo.example.com, created a pool, and specified UUID1.cfargotunnel.com as the Origin. I saved the configuration. However, when I checked the connectivity on port 80 using the Monitor, it was determined to be Down. In fact, I couldn't access UUID1.cfargotunnel.com directly in the browser either.
  • After that, I changed the Origin URL to srv01.example.com. This made the health check report as healthy, but now when I access lbdemo.example.com, it returns a 404 error.
Is there something wrong with these steps?
Was this page helpful?