Upload

Drag-n-Drop

to upload your archive

Upload

Free Domain Name
Try another
Full Name
Email
Password
I have an account

ASTRO HOSTING

Host an Astro Website

Astro generates static HTML with zero JavaScript by default. The output is the fastest thing you can deploy. Upload your Astro build to Static.app and serve it from a global CDN.

Upload Astro Website

Drag and drop files to upload.

Upload website file archives, images, documents, or PDFs.

Select File
  • Zero-JS by default

    Astro ships no JavaScript unless you explicitly opt in with client directives. Your pages are pure HTML and CSS. Fastest possible load times on Static.app's CDN.

  • Content collections support

    Astro's content collections (Markdown, MDX) compile to static HTML at build time. Blog posts, documentation, portfolios, all pre-rendered and ready to upload.

  • Island architecture

    Interactive components (React, Vue, Svelte islands) hydrate independently. The static HTML loads instantly, interactive parts load progressively. Works perfectly on static hosting.

How to host your Astro website

  • 1

    Run npm run build. Astro outputs to dist/.

  • 2

    ZIP the contents of the dist/ folder.

  • 3

    Drag onto static.app. Your Astro website is live.

See it with your own eyes!
Video Thumbnail

All you need for Astro hosting

  • Instant HTTPS

    Automatic HTTPS on every Astro website.

  • Built-in form handling

    Add static-form to your Astro contact forms. No API endpoint needed.

  • Custom domains

    Connect your own domain. Point DNS and SSL activates automatically.

Astro Hosting FAQ

Does SSR mode work?

No. Static.app hosts pre-built files without a server runtime. Use Astro's default static mode (output: 'static') which pre-renders all pages during the build step. If you've switched to SSR or hybrid mode in your config, change it back to static before building. The static output includes all your pages as plain HTML files that load instantly from the CDN.

Do Astro islands work?

Yes, fully. Astro's island architecture compiles interactive components (React, Vue, Svelte, Solid) into JavaScript files during the build. The HTML page loads instantly from Static.app's CDN, then the interactive islands hydrate independently in the browser. Client directives like client:load, client:visible, and client:idle all work because they're browser-side features built into the compiled output.

Can I use React/Vue/Svelte components?

Yes. Astro supports components from React, Vue, Svelte, Solid, Preact, Lit, and Alpine. These components compile during the build step into JavaScript that the browser runs. Use client directives (client:load, client:visible) to control when they hydrate. The compiled output is standard HTML and JavaScript that Static.app serves like any other static file.

Can I use content collections?

Yes. Astro's content collections process Markdown and MDX files at build time, generating static HTML pages for each piece of content. Blog posts, documentation pages, product listings, anything in your content collections compiles to HTML during npm run build. Upload the output and every page works. To update content, edit your Markdown files, rebuild, and re-upload.

Does Astro DB work?

Astro DB requires a server runtime to handle database queries, so it doesn't work on static hosting. For static sites, use content collections (Markdown/MDX files processed at build time) or fetch data from an external source (headless CMS, API) during the build step. The fetched data gets baked into static HTML pages. You can also use client-side databases like Supabase or Firebase for dynamic data in the browser.

Can I use Astro View Transitions?

Yes. View Transitions are a browser API that Astro wraps for smooth page transitions. The feature works by including a small JavaScript file in the build output that manages the transition animations between pages. Since it's all client-side browser functionality, it works on any static host including Static.app. Pages still load from the CDN, the transitions just make navigation feel smoother.

What about Astro integrations?

Build-time integrations (image optimization, sitemap generation, RSS feeds) all work because they run during npm run build. Runtime integrations that need a server won't work.

What about Astro's hybrid rendering?

Hybrid mode lets you mix static and server-rendered pages in one project. The server-rendered pages require a Node.js runtime that Static.app doesn't provide. To host on Static.app, use output: 'static' (the default) which pre-renders every page at build time. If you have specific pages that need server rendering, consider hosting those on a separate Node.js platform and keeping the static pages on Static.app.

Can I use a headless CMS?

Yes. Connect any headless CMS (Contentful, Sanity, Strapi, Decap CMS, Keystatic) to your Astro project. Astro fetches content from the CMS API at build time and generates static HTML pages. Upload the build output to Static.app. When content changes in the CMS, rebuild your Astro project and re-upload. For automated workflows, use GitHub Actions to trigger a build and deploy whenever CMS content updates.

How fast is it?

Very fast. Astro ships zero JavaScript by default, so pages are pure HTML and CSS. Combined with Static.app's CDN serving files from edge locations worldwide, expect sub-second page loads. Lighthouse performance scores of 95-100 are common for Astro sites on static hosting. Even pages with interactive islands load fast because the HTML renders immediately while JavaScript hydrates components in the background.

How fast is an Astro website on Static.app?

Extremely fast. Astro's zero-JavaScript-by-default approach means most pages are pure HTML and CSS, typically 10-50KB total. Static.app serves these from a global CDN with edge caching, so the first byte arrives in under 100ms for most visitors worldwide. Lighthouse performance scores of 98-100 are typical. Adding interactive islands increases the JavaScript payload, but Astro's partial hydration keeps it minimal compared to full-framework approaches.

Start hosting your Astro website now

Select File
or drop your archive to upload
Hey there 👋  Friends from designmodo are here to help!