Custom Domains

Telbase supports three ways to give your apps custom domains: per-project domains, organization subdomain routing, and organization path routing.

Per-Project Custom Domains

The simplest option, on Starter and above. Point a single domain to a single app.

Add a domain

bash
telbase domain add app.yourcompany.com --project my-app

Add DNS records

The CLI returns the one DNS record to add at your DNS provider: a CNAME to cname.telbase.ai, for Vercel and Cloud Run apps alike. A root domain (acme.com) needs a DNS provider that allows a CNAME at the root (CNAME flattening or an ALIAS record).

Verify

bash
telbase domain verify app.yourcompany.com --project my-app
Automatic SSL
The certificate follows within minutes of verification. No manual certificate management needed. Sign-in and logs apply on the domain as at the Telbase URL.

Organization Domains: Subdomain Mode

Subdomain mode creates URLs like dashboard.acme.com and api.acme.com. Each app gets its own subdomain under your organization domain.

When to use subdomain mode

Setup

bash
# Add your organization domain
telbase org domain add acme.com

# Add DNS records (the CLI shows what to add):
# 1. TXT record for verification
# 2. Wildcard CNAME: *.acme.com → cname.telbase.ai

# Verify DNS propagation
telbase org domain verify acme.com

# Every app then also answers at its subdomain
# → https://my-dashboard.acme.com

Once verified, every app also answers at {name}.acme.com, apps registered later too. These do not count toward the plan's custom domains.

Organization Domains: Path Mode

Path mode creates URLs like acme.com/dashboard and acme.com/api. All apps share a single domain with path-based routing.

When to use path mode

Setup

bash
# Add your organization domain in path mode
telbase org domain add acme.com --mode path

# Add DNS records (the CLI shows what to add):
# 1. TXT record for verification
# 2. The CNAME record the CLI shows

# Verify DNS propagation
telbase org domain verify acme.com

# Every app then answers at its path
# → https://acme.com/my-dashboard/
The app's base path
In path mode the app must be built with that base path (Next.js basePath, Vite base, SvelteKit kit.paths.base, Astro base). Your agent asks you before changing it.

DNS Setup Walkthrough

After adding a domain, you need to configure DNS records at your registrar. Here is the general process:

  1. Log in to your registrar (Cloudflare, Namecheap, GoDaddy, Route 53, etc.)
  2. Add the TXT record shown by the CLI. This proves you own the domain. The record name and value are provided in the CLI output.
  3. Add the CNAME record. For subdomain mode, add a wildcard CNAME (*.acme.com). For path mode, add a bare CNAME (acme.com).
  4. Wait for propagation. DNS changes typically take 5–30 minutes but can take up to 48 hours.
  5. Verify by running telbase org domain verify acme.com. Telbase checks public DNS servers (Google 8.8.8.8 and Cloudflare 1.1.1.1) for your TXT record.
Cloudflare users
If you use Cloudflare, make sure the CNAME record has the proxy disabled (DNS only / gray cloud) during initial setup. You can enable the proxy after verification completes.

Setup Reminders

Telbase helps you complete DNS setup at every step:

  1. Email with DNS records — When you add an org domain, all org admins receive an email with the exact DNS records and a “Verify Now” link. Keep this email handy while configuring your registrar.
  2. Verification confirmation — Once DNS is verified, a confirmation email says which addresses your apps get.
  3. Dashboard banner — Pending domains show an amber banner on the Projects page with a link to complete setup.

Plan Requirements

Domain features vary by plan:

See the CLI Reference → org section for the full command reference.