Guides

Domains

Keep the project Default URL, optionally add a Robodev URL, and serve the app on one or more custom subdomains.

Every project always keeps https://{projectId}.robodev.povio.dev (locally {id}.localhost:4000) as the Default URL. That host is the API URL the CLI and generated clients use. From project Settings, a project admin can set a Robodev URL and add custom subdomains, as many as needed. The App URL prefers the primary custom domain, then the Robodev URL, then the project id host. Auth magic-link and forgot-password emails use the App URL. The dashboard shows the App URL on Overview, MCP, APIs, Logs and Connect; Settings keeps the Default URL.

Robodev URL

  • Optional, globally unique, 3–63 characters: lowercase letters, digits, and hyphens.
  • Serves the app at a host like https://acme.robodev.povio.dev. This is not a customer CNAME.
  • Reserved names such as www, api, storage, and cname are rejected. Names starting with prj- are rejected.
  • Remove the Robodev URL in Settings to drop that host.

Custom domains

Add a hostname such as www.example.com, or a root domain such as example.com. A project can have several custom domains; adding one never replaces another. Starbase does not serve or issue TLS for a hostname until its DNS is verified, and every verified domain serves the app (there are no redirects between them).

  • Create a CNAME whose name is the relative host (www for www.example.com) and whose value is cname.robodev.povio.dev. Some providers want the full hostname.
  • Or, if your provider cannot set a CNAME there, create an A record with the same name instead, plus the ownership TXT record the dashboard shows with it (the A record alone does not prove the domain is yours). Its value is the address cname.robodev.povio.dev resolves to, shown in the dashboard next to the CNAME. Remove any other A or AAAA records on that name. An A record must be updated by hand if that address ever changes; a CNAME follows it.
  • A root domain such as example.com is verified by a TXT record alone: the dashboard shows its name (_robodev-verification) and value, and Check DNS passes once it is published. To send traffic to the app, also point the name @ at it with the A record, or the same CNAME if your provider flattens it (some call it ALIAS or ANAME). That record is not checked.
  • Click Check DNS in Settings. Starbase follows the CNAME chain until it reaches cname.robodev.povio.dev or {projectId}.robodev.povio.dev, or, failing that, checks that every A and AAAA record of the hostname is a Robodev address and that the ownership TXT record is published.
  • A new domain is not live until Check DNS succeeds. Removing a domain stops the app serving on it; DNS at your provider is unchanged.
  • Organization members can view the domains and their DNS records; only project admins (including organization admins) can add, verify, make primary or remove them.

Primary domain

  • Exactly one verified domain is the primary, and it is the App URL. Pending domains never become the App URL.
  • The first domain to pass Check DNS becomes the primary. Use Make primary in Settings → Custom domains to pick another verified domain.
  • Removing the primary makes the oldest other verified domain the primary. With none left, the App URL falls back to the Robodev URL, then the Default URL.
  • Every verified domain is an allowed Auth redirect_uri origin, not only the primary.

Domains API

  • GET /v1/projects/:id/domains — every custom domain and the App URL (project members).
  • POST /v1/projects/:id/domains with { hostname } — add a domain; adding one the project already has returns it unchanged.
  • POST /v1/projects/:id/domains/:hostname/verify — check DNS for that domain.
  • POST /v1/projects/:id/domains/:hostname/primary — make a verified domain the primary (409 domain_not_verified otherwise).
  • DELETE /v1/projects/:id/domains/:hostname — remove that domain; the response names the promoted primary, if any.
  • GET /v1/projects/:id returns customDomains (primary, then other verified, then pending) and customDomain, the primary or else the oldest pending domain. The older single-domain routes (PUT /domain, POST /domain/verify, DELETE /domain) still work and act on that customDomain.

apiUrl stays on {projectId}.{apex}. Point backends and VITE_API_URL at that host. Open the app from the App URL after a custom domain is valid.

The same actions are available from the hosted MCP connector (set_project_slug, set_custom_domain to add a domain, verify_custom_domain, set_primary_custom_domain, remove_custom_domain, and project_info to read the current state), with the same roles: both need a project admin. When a project has several domains, pass hostname to verify_custom_domain and remove_custom_domain.