Custom domains

Bring your own domain. Prove you own it with one DNS record, then traffic and HTTPS follow automatically.

Add a domain

Domains

Loading.

How it works

  1. Add the domain here, or start the agent with tunl http 3000 --name shop --domain api.example.com.
  2. At your DNS provider add either the CNAME record (points traffic here) or the TXT record (proves ownership; works for apex domains and Cloudflare proxied records).
  3. Press Verify DNS. The domain is bound to the open tunnel at once; the agent does not reconnect.
  4. With --acme-email on the server, the certificate for the domain is ordered on the first HTTPS request. TLS tunnels pass the connection through untouched.

Read the custom domain guide →