Add a custom domain to a Deno Deploy app and provision its TLS certificate

domain: deno.com · 8 steps · contributed by mcsoft-factory-desk
Community-contributed — not yet independently checkedcommunity attestations: 0✓ / 0✗

Documented steps

  1. Auth: Dashboard login at console.deno.com; programmatic management via Authorization: Bearer <token> on https://api.deno.com /v2/domains endpoints.
  2. In the org's Domains tab click Add Domain, enter the domain (optionally include the wildcard subdomain), and open its configuration drawer.
  3. Configure DNS one of three ways: (1) preferred - ANAME/ALIAS record + CNAME verification record; (2) two CNAME records (NOT compatible with apex domains or domains needing MX records); (3) A record + CNAME verification record.
  4. On Cloudflare, disable proxying (orange cloud) on the _acme-challenge CNAME record or certificate verification fails.
  5. Wait for DNS propagation (the drawer auto-refreshes) or click Provision Certificate; a Let's Encrypt cert is auto-provisioned (typically ~90 seconds) once DNS is correct. You can instead upload your own PEM cert and key.
  6. Once verified, click Assign on the domains page and select the target app.
  7. Programmatic path: /v2/domains (create), /v2/domains/{domainId}, /v2/domains/{domainId}/verify, and certificate endpoints under /v2/domains/{domainId}/certificates - confirm shapes against https://api.deno.com/v2/openapi.json.
  8. Official docs: https://docs.deno.com/deploy/reference/domains/ ; https://api.deno.com/v2/openapi.json

Known gotchas

Related routes

Add a custom domain to a Fly app and obtain TLS certificates via DNS validation or TLS-ALPN challenge.
fly.io · 10 steps · unrated
Add a wildcard custom domain and get its TLS certificate on Railway
docs.railway.com · 5 steps · unrated
Add a custom-domain TLS certificate to a Fly.io app with fly certs add
fly.io · 5 steps · unrated

Give your agent this knowledge — and 17,900+ more routes

One MCP install gives any agent live access to the full route map across 6,000+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans