---
title: "Astro sites built and previewed on your own machine"
description: "In a Box builds Astro sites into plain files on a Node version set per site, previews them behind your login and publishes only the built output."
url: https://in-a-box.online/webdev/sites/astro/
---
1.  [In a Box](https://in-a-box.online/)
2.  [Kits](https://in-a-box.online/kits/)
3.  [WebDev (in a box)](https://in-a-box.online/webdev/)
4.  [Site stacks](https://in-a-box.online/webdev/sites/)
5.  [Astro](https://in-a-box.online/webdev/sites/astro/)

# Astro, built to plain files.

An Astro site ends up as static HTML, so the live copy carries no server code and no database. In a Box does the building, the previews and the checks.

![The Astro logo on a dark Karkinos background.](https://in-a-box.online/img/stack-astro.webp)

## Only the build goes out

`astro build` writes the site into `dist/`, and those files are all that get published. With no plugins or database on the live side, there is nothing there to patch.

## Node 22.23.4 and up

The version we tried, on 24 October 2026, was Astro 7.4.2. The Node version belongs to each site, so a years old Astro project can share the machine with a brand new one.

## Posts as Markdown in git

Ask for a post and the assistant writes a single Markdown file. The next build regenerates the post list, the sitemap, the feed and llms.txt, and the post's fields are checked every time. Being in git, each change can be reviewed or undone.

## Two seconds for a whole blog

Our test was a blog of five posts that held on to every old address, `.html` endings included. Building it took about two seconds. Upgrades happen on a branch, with the changelog read before anything ships.

## A good home for simple sites

Compare it with [plain HTML](https://in-a-box.online/webdev/sites/plain-html/) and the other [site stacks](https://in-a-box.online/webdev/sites/).

MORE IN SITE STACKS

-   [Site stacks: the overview](https://in-a-box.online/webdev/sites/)
-   [Craft CMS](https://in-a-box.online/webdev/sites/craft/)
-   [Django](https://in-a-box.online/webdev/sites/django/)
-   [Drupal](https://in-a-box.online/webdev/sites/drupal/)
-   [Flask](https://in-a-box.online/webdev/sites/flask/)
-   [Joomla](https://in-a-box.online/webdev/sites/joomla/)
-   [Laravel](https://in-a-box.online/webdev/sites/laravel/)
-   [Next.js](https://in-a-box.online/webdev/sites/nextjs/)
-   [Plain PHP](https://in-a-box.online/webdev/sites/php/)
-   [Plain HTML](https://in-a-box.online/webdev/sites/plain-html/)
-   [Statamic](https://in-a-box.online/webdev/sites/statamic/)
-   [WordPress](https://in-a-box.online/webdev/sites/wordpress/)

## Run for you in the cloud, from £250 a month.

[See the plans](https://in-a-box.online/pricing/#plans)[Get in touch](https://in-a-box.online/contact/)
