Deploy guide
How to deploy Astro
Astro builds your site to a folder of plain files. Here's how to build it, which folder to publish, and the setup on each host.
npm run builddist
Pick a host
Where do you want it?
Fastest99helpersRun
npm run build and drop the dist folder. No git, no workflow file, no build settings: live in seconds, with passwords, analytics and AI editing built in.Astro on GitHub PagesFree hosting for static sites straight from a GitHub repository.Astro on NetlifyBuilds and hosts sites from a git repository, with forms and serverless functions.Astro on VercelHosting for frontend frameworks, especially Next.js, deployed from git.Astro on Cloudflare PagesStatic sites and full-stack apps on Cloudflare's network, deployed from git or by upload.Before any host
Build it
Run npm run build. The site comes out in dist: that folder is what goes online, whichever host you pick.
Good to know
Worth knowing first
- This is for Astro's default static output. With an adapter for server rendering, the host needs to run it, and the settings differ.
Or skip the setup
Drop it in. It's online in seconds.
A file, a folder or a whole site: 99helpers puts it online at its own address, with no git, no build settings and no DNS to start with. Add your own domain whenever you're ready.