Custom domains
Every project gets a free *.nimbus.dev subdomain, but you’ll usually want to serve
functions from your own domain.
-
Add the domain to your project:
Terminal window nimbus domains add api.example.com -
Nimbus prints a DNS record to add at your registrar:
Type Name ValueCNAME api edge.nimbus.dev -
Add that record with your DNS provider.
-
Verify it’s connected:
Terminal window nimbus domains verify api.example.com
Wildcard domains
Section titled “Wildcard domains”To route an entire subdomain tree to a single function (useful for multi-tenant apps), add a wildcard record instead:
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.