DocsGuidesCustom Domains

Custom Domains

Use your own domain with Deployzy tunnels.

Setup

1. Add your domain

Go to Domains in the dashboard, or via API:

bash
curl -X POST https://api.deployzy.com/api/v1/domains \
  -H "X-API-Key: sm_live_..." \
  -H "Content-Type: application/json" \
  -d '{"domain": "api.example.com"}'

2. Add a DNS record

Add a CNAME record in your DNS provider:

TypeNameTarget
CNAMEapi.example.comtunnel.deployzy.com

3. Verify

Click "Verify" in the dashboard, or:

bash
curl -X POST https://api.deployzy.com/api/v1/domains/:id/verify \
  -H "X-API-Key: sm_live_..."

4. Use it

bash
deployzy http 3000 --hostname api.example.com

TLS certificates

Deployzy automatically provisions Let's Encrypt certificates for verified custom domains. The first request to a new domain takes ~5 seconds (certificate provisioning), then instant after that.