Skip to content

Connect my domain

Say "connect leaseline.com" and get the Domain verified, its DNS records, a certificate and your Site served on it.

For developers

Point a Domain you already hold at your Site. You add three records at your registrar; DNS records for your domain shows each one and how long it takes.

For developers

Needs Startup

What you get

  • 1domain verified through DNSDomain
  • 4DNS records for the site, the app and mailDNS Record
  • 1certificate, renewed before it expiresCertificate
  • 1site served at leaseline.comSite
  • 1domain cleared for Apple Pay and Google Pay at checkoutDomain

Your agent does

Domain.connect
You, to your agent

Connect leaseline.com. I bought it somewhere else.

Use the domain I already own for my site.

Point leaseline.com at the business.

# Look up the Startup: Startup.list
STARTUP=$(curl "https://api.sb/leaseline.app/startups?limit=1" \
  -H "Authorization: Bearer $STARTUP_BUILDER_API_KEY" | jq -r '.startups[0]["$id"] | split("/") | last')

# Domain.connect
curl -X POST https://api.sb/leaseline.app/domains/connect \
  -H "Authorization: Bearer $STARTUP_BUILDER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"hostname":"leaseline.com","startup":"'"$STARTUP"'"}'
import { $ } from 'startup-builder'

const [startup] = await $.Startup.list({ limit: 1 })
await $.Domain.connect({ hostname: 'leaseline.com', startup: startup.$id })
STARTUP=$(npx startup-builder do Startup.list --json '{"limit":1}' | jq -r '.startups[0]["$id"] | split("/") | last')
npx startup-builder do Domain.connect --json '{"hostname":"leaseline.com","startup":"'"$STARTUP"'"}'
{
  "name": "do",
  "arguments": {
    "code": "const [startup] = await $.Startup.list({ limit: 1 })\nreturn await $.Domain.connect({ hostname: 'leaseline.com', startup: startup.$id })"
  }
}

Change it

  • Send leaseline.app to leaseline.com.
  • Give me hello@ and support@ at leaseline.com.

Under the hood

Systems
Sites
Nouns
Domain, DNS Record, Site
Events
Domain.connected
Stripe objects
Payment Method Domain