Custom domains
Attach your own hostname to a deployment: the DNS records, verification, and TLS issuance.
Your project is always at https://<name>.<username>.sproutboat.com. To add your own hostname:
Add the domain
bunx sproutboat domains add example.comnpx sproutboat domains add example.comIt prints two records to create in your DNS:
| Type | Name | Value | Notes |
|---|---|---|---|
TXT |
_sproutboat.example.com |
sproutboat-verify=<token> |
proves you control the zone |
A |
example.com |
the control-plane IP it prints | DNS-only, not proxied — makes the name route to the box |
Verify
bunx sproutboat domains verify example.comnpx sproutboat domains verify example.comVerify checks the TXT record. If the hostname does not yet resolve to the box it still verifies but warns; re-run it once DNS has propagated.
Related
- CLI reference — domains
- Platform limits — custom domains per project