Skip to content

Custom domains

Every project gets a free *.nimbus.dev subdomain, but you’ll usually want to serve functions from your own domain.

  1. Add the domain to your project:

    Terminal window
    nimbus domains add api.example.com
  2. Nimbus prints a DNS record to add at your registrar:

    Type Name Value
    CNAME api edge.nimbus.dev
  3. Add that record with your DNS provider.

  4. Verify it’s connected:

    Terminal window
    nimbus domains verify api.example.com

To route an entire subdomain tree to a single function (useful for multi-tenant apps), add a wildcard record instead:

Terminal window
nimbus domains add "*.example.com"

Each request’s Host header is available on request.headers.get('host') inside your function, so you can branch per-tenant in code.