Preview & deploy
Deploy
Publishing a version of your app to a public HTTPS URL or your own custom domain.
Updated 24 Nov 2026
Deploying builds a production bundle of the current version and serves it at a public URL. It takes one click.
What happens
- SpinBuild snapshots the current version's files.
- A fresh container installs dependencies, runs
next build, and starts the production server. - When the app answers, traffic is switched to the new container. The previous deployment is retired a moment later — a brief overlap, never a gap.
- The deployment is live at its SpinBuild address,
https://<name>.apps.spinbuild.ai. The name starts as your project's name; you can change it.
Progress streams into the builder; a failed build shows its log so you can fix and redeploy.
Changing the address
The project's owner can rename the address, for example from tik-tak-toe.apps.spinbuild.ai to tic-tac-go.apps.spinbuild.ai. Open Publish (or the project's Settings, under Published address), click Edit next to the address, and type the new name. SpinBuild checks as you type whether the name is free and shows the full new address. Click Continue, read the confirmation, and click Change address.
The app answers on the new address straight away, without a redeploy. SpinBuild then quietly rebuilds the live version in the background, so the app's own links and its sign-in callbacks use the new address. The app stays live while this happens.
The old address stops working. Once that background rebuild is live, usually within a few minutes, visitors to the old address get a "not found" page. It does not redirect. A redirect would keep the old name in use by your project, and the name could never become anyone else's anyway. Update any links you shared.
A name is never reused. Once any project has used a name, nobody can take it again, including you. This applies to a project's original name, every address it has had, and the names of deleted projects. Nobody else can ever pick up your old links, bookmarks or sign-in callbacks.
A name must:
- be 3 to 63 characters long;
- use only lowercase letters
a–z, numbers and hyphens; - not start or end with a hyphen, or contain two hyphens in a row;
- not be a reserved name such as
www,api,admin,app,mailorsupport; - not be offensive or use another brand's name (for example
spinbuild-helporpaypal-login).
You can change the address, or get a random one with Get a new address, up to 5 times a day per project. Only the project's owner can choose a name; project admins and editors can't.
Custom domains are not affected. A connected domain keeps serving the app, and if the SpinBuild address redirects to your domain, the new address does the same. If you use your own Google or GitHub sign-in keys, add the new address to their allowed redirect URLs.
Configuration
Deployments receive DATABASE_URL for the project's database automatically, plus the variables from your .env. .env itself is never copied into the image. See Environment variables.
Same isolation as the preview
A deployment runs in the same kind of kernel-isolated container as the preview — kernel-isolated, capability-dropped, resource-limited — and against the same private database. See Isolation.
Redeploying and rolling back
Deploy again at any time to publish the current version. To roll back, revert to an earlier version in the builder and deploy.
Custom domains
On every paid plan you can put a published app on a domain you own, like myshop.com, with free HTTPS. You can also buy a new domain inside SpinBuild and have its DNS records written for you. Until you add one, the app keeps its apps.spinbuild.ai address.
In short: open Publish, click Use your own domain, and add the A and TXT records SpinBuild shows at your domain provider. SpinBuild checks them, adds HTTPS, and switches the domain on. Publishing a new version updates the custom domain at the same moment, with no downtime.
The full guide, including buying a domain and fixing a stuck one, is in Custom domains.
Limits
The number of live deployments per account depends on your plan — see Limits. One deployment per project is live at a time.