Cloudflare Docs
Cloudflare Zero Trust
Edit this page
Report an issue with this page
Log into the Cloudflare dashboard
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 to localhost:8080. Anyone can now view your local application by going to 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.