Birthday and Black Friday: Get 40% Off Your First 6 Months of Hosting! See the deals
Astro hosting

Fast hosting for static Astro sites

Astro builds static sites by default, and that’s exactly what we serve best. Run the build, upload the dist folder and your site is live on NVMe servers behind Cloudflare.

Why host Astro sites here

Built for build output

Your generator does the work at build time. We serve the finished HTML, CSS, JavaScript and images from NVMe storage, cached worldwide by Cloudflare.

Nothing to patch

No plugins, no database to keep updated and nothing for attackers to poke at. Free SSL, DDoS and bot protection come as standard.

Backups you don’t think about

Automatic backups every 6 hours, kept for 30 days. Restore one file or the whole site from the Reactor Panel.

Static Astro sites, served fast

Astro ships zero JavaScript by default and pre-renders every page at build time unless you opt into server rendering. The result is a folder of fast, static files, which is exactly what our hosting is built to serve.

Build on your Mac or in CI, upload dist over SFTP, and your site is live on NVMe storage with a managed Cloudflare CDN, free SSL and backups every 6 hours.

Using Astro islands for interactive components? They work as normal, because they run in the visitor’s browser, not on the server.

How to deploy an Astro site

Build your site

Run npm run build. With Astro’s default static output, the finished site is written to dist.

Get your SFTP details

In the Reactor Panel, open your website, choose Advanced, then Developer Tools. Your SFTP username, server address and password are under SSH password authentication. You can add an SSH key there too.

Upload the dist folder

Upload the contents of dist into public_html with an SFTP app, or from the command line (below).

Point your domain

Point your domain’s DNS at us, or ask us and we’ll do it for you. SSL is set up automatically, so your site is on HTTPS from the start.

Prefer the command line? This builds the site and mirrors it to your account with lftp:

npm run build
lftp -e "mirror --reverse --delete --verbose dist/ public_html/; quit" sftp://USERNAME@SERVER

Replace USERNAME and SERVER with your SFTP details from the Reactor Panel.

Astro hosting questions

Can I host a server-rendered Astro site?
We host Astro’s static output, which is the default. Pages that use on-demand server rendering need a Node.js server, so they’re a better fit for a platform built for that.
Can I deploy automatically from GitHub?
Yes. Any CI service that can upload over SFTP, such as GitHub Actions with an SFTP deploy step, can build your site and publish it to Realmac Hosting on every push.
Do you build my site for me?
No. You build the site on your Mac or in CI and upload the finished files. That keeps hosting simple and fast, and means you control the exact version of your generator.

More answers in our static website hosting FAQ.

Your site deserves better hosting

Pick a plan, upload your site and get on with your day. We’ll even move your existing site for free.