⌘K
DocsGuides

Custom domains

Serve any deployed environment from a domain you own.

Your app on your domain

Every deployed environment gets a live Spaceboy URL out of the box. Custom domains (Starter plan and above) put a deployed environment behind a hostname you own — app.yourcompany.com, or the apex yourcompany.com — with HTTPS handled for you. Once the domain is live it stays attached to the environment, so every later deploy is reflected automatically.

Linking a domain

Open the Domains page in your dashboard and pick the deployed environment you want to serve. Three steps, all shown with copyable values on the page:

  • Add your hostname. Spaceboy gives you a TXT record that proves you own the domain — nothing is served until it's verified.
  • Publish the DNS records at your domain registrar: the verification TXT record, plus a CNAME (for subdomains) or an A record (for apex domains) pointing at Spaceboy.
  • Wait for the certificate. Once DNS propagates, Spaceboy provisions a managed TLS certificate and flips the domain to Active — usually within minutes of DNS resolving.

Spaceboy re-checks pending domains automatically in the background, so you can close the tab after publishing the records. The Check status button gives you an on-demand refresh while you watch DNS propagate.

Domains and sign-in

If your app has user accounts, the sign-in emails follow your domain automatically: when a custom domain becomes active, it becomes the primary URL for auth emails and redirects, with the original Spaceboy URL still accepted.

Removing a domain

Remove a domain from the Domains page at any time — the certificate and routing are released immediately. Tearing down an environment releases its domains as well, so nothing keeps serving stale content.