How do I create a tunnel and assign it to a specific domain or subdomain?

Question

Grade: Education Subject: Support
How do I create a tunnel and assign it to a specific domain or subdomain?
Asked by:
73 Viewed 73 Answers

Answer (73)

Best Answer
(303)
Use the command `cloudflared tunnel create `. After creation, use `cloudflared tunnel route add --service ` to route traffic for that domain/subdomain through the tunnel. `` is a local identifier for the service you're exposing.