Cloudflare Docs
Cloudflare Zero Trust
Edit this page on GitHub
Set theme to dark (⇧+D)

Public hostnames

With Cloudflare Tunnel, you can expose your HTTP resources to the Internet via a public hostname. For example, you can add a route that points docs.example.com to localhost:8080. Anyone can now view your local application by going to docs.example.com in their web browser.

Cloudflare can route traffic to your Cloudflare Tunnel connection using a DNS record or Cloudflare Load Balancer. You can configure either option from the Cloudflare dashboard by pointing a DNS CNAME record or a load balancer pool to the Cloudflare Tunnel subdomain for your connection. You can also associate these records with your tunnel from cloudflared directly.