Custom domains
Serve your HTTPS tunnel on your own address—like api.example.com—instead of *.prontaro.run.
On this page11
No nameserver changes required: add two records at any DNS host (Route 53, Cloudflare, Namecheap, DigitalOcean, Porkbun), and Prontaro issues and renews Let’s Encrypt TLS certificates automatically via DNS-01.
Custom domains work with HTTPS tunnels only and are included on all paid plans: 1 on Tunnels, 5 on Dedicated, and 20 on Pro.
You can add more with a domain pack in Plans. Custom domains are not available on Free.
How it works
Each custom domain attaches to an HTTPS tunnel and inherits its settings: access rules, Basic Auth passwords, binding to a shared Prontaro address or dedicated IPv4, and quotas:
Visitor / Webhook (https://api.example.com)
│ DNS points to Prontaro edge (CNAME / ALIAS / A)
▼
Prontaro Edge Node ── serves Let's Encrypt ECDSA P-256 cert
│ passes Host: api.example.com & X-Forwarded-Host
▼
prontaro CLI ──▶ Local server (127.0.0.1:3000)Two DNS records: domain and TLS certificate
When you attach a domain, Prontaro generates a unique token and gives you the exact records to create:
| Domain type | Domain record (CNAME / A) | Certificate record (_acme-challenge) |
|---|---|---|
Subdomain (api.example.com) |
CNAME → <token>.d.prontaro.run. |
_acme-challenge.api.example.com CNAME → _acme-challenge.<token>.d.prontaro.run. |
Root domain (example.com) on own IP |
A → your dedicated IPv4 |
_acme-challenge.example.com CNAME → _acme-challenge.<token>.d.prontaro.run. |
Root domain (example.com) on shared Prontaro address |
ALIAS/ANAME → <token>.d.prontaro.run. (or shared A) |
_acme-challenge.example.com CNAME → _acme-challenge.<token>.d.prontaro.run. |
If you move a tunnel between the shared Prontaro address and a dedicated IP, you do not need to update the subdomain’s CNAME record. For a root domain on the shared Prontaro address without ALIAS/ANAME support, Prontaro provides the shared A record and notifies you by email if that address ever changes.
Zero-downtime TLS cutover
Certificate issuance depends only on _acme-challenge, not on the domain record (CNAME / A). To migrate a live hostname without TLS errors:
- Add only the
_acme-challengeCNAMEfirst. - Click Check DNS in the dashboard and wait until the certificate is issued.
- Point your domain record (
CNAMEorA) to Prontaro—the very first request receives a valid certificate.
Setup and management
Custom domains are added, checked, moved, and removed in the Prontaro dashboard (connected domains also appear next to their tunnels in prontaro ls):
- Open the target HTTPS tunnel under Tunnels.
- Click Add domain, enter your hostname (for example
api.example.com), and copy both DNS records from the dialog. - Create the records at your DNS provider, then click Check DNS without waiting for the next scheduled check.
- From the same page, you can move the domain to another HTTPS tunnel, remove it, or turn off the default
*.prontaro.runaddress.
Turning off the default *.prontaro.run address
By default, the built-in *.prontaro.run URL keeps working alongside your custom domain (prontaro ls lists your custom domain first). To serve traffic only on your own domain:
- Open the tunnel in the Prontaro dashboard.
- Turn off the default
*.prontaro.runaddress—it stops answering as long as at least one custom domain is working on that tunnel.
prontaro ls shows (paused while custom domain is active) next to the default URL. If you remove the last custom domain in the dashboard, Prontaro warns that *.prontaro.run will become active again; you can also re-enable it manually in the dashboard anytime.
For web apps with sign-in, a custom domain with *.prontaro.run turned off is the most reliable setup: browsers treat all subdomains of prontaro.run and prontaro.dev as one site, so cookies scoped to the parent domain are not isolated. If you keep a sign-in app on a shared subdomain, set session cookies without Domain, prefix them with __Host-, and verify CSRF with a token.
Limits and notes
- HTTPS tunnels only. Custom domains work only with HTTPS tunnels—you cannot attach a domain to a TCP tunnel.
- No wildcard or uploaded certificates. Each hostname (
api.example.com,www.example.com) is added and counted individually toward your plan limit. Uploading custom keys or certificates is not supported. - Keep
_acme-challengein place. If you remove it after issuance, the active certificate keeps working until expiry, but cannot be renewed—once it expires, HTTPS will stop working (Prontaro emails reminders 21, 7, and 1 day ahead). - Renaming vs. deleting tunnels.
prontaro renameleaves attached domains and certificates untouched;prontaro rmdeletes the tunnel along with all domains attached to it. - Domains awaiting DNS setup. A domain does not take a plan slot until its DNS records are in place.
- Plan downgrades. If a plan change lowers your allowance below the number of active domains, the newest domains pause until you free a slot or add a domain pack.
FAQ
DNS check cannot see _acme-challenge
Many DNS panels automatically append the root domain, turning _acme-challenge.api.example.com into _acme-challenge.api.example.com.example.com—enter _acme-challenge.api instead.
Verify in public DNS with dig CNAME _acme-challenge.api.example.com. On Cloudflare, double-check that the record is DNS only.
Local app rejects requests due to Host header
Prontaro forwards Host: api.example.com and X-Forwarded-Host: api.example.com. If your local dev server (such as Vite or Webpack) blocks unknown hosts, allow the domain in your app config or start the tunnel with --host-header localhost.
Can I attach multiple domains to one tunnel?
Yes—add each hostname to the same tunnel within your plan’s custom domain limit.
Next steps
- Access control & firewalls — restrict access to your domain with IP allowlists or Basic Auth.
- HTTPS tunnels — run HTTPS tunnels on port
443of your dedicated IP. - Plans & pricing — custom domain limits by plan and add-on packs.
Something wrong on this page? Contact us