Best Astro Hosting Providers for 2027: A Comparison of Static and SSR
The best Astro hostinng depends on what your website does and how you want to publish it. A blog can serve pre-rendered pages. An account page may need to execute code as soon as someone opens it. Ask your agent to check which of these your project needs before choosing a host.
ohmyhost fits into a workflow where your agent handles deployments. Cloudflare Workers gives you direct control over its runtime and resources. Vercel and Netlify are worth considering if you already use their deployment tools or need their platform services. All of them support static Astro sites. Server-side rendering requires the appropriate adaapter and a compatible runtime.
We're building ohmyhost. We've also migrated our own publication, Seb Builds, from Next.js to Astro and are running it in production on ohmyhost. This comparison is based on that migration and the providers' official documentation. It was published in October 2026 as a buyig guide for 2027. We did not benchmark the same application across all of these providers.
Start with what your website needs
| Host | Static Sites | Astro-SSR Runtime | Select it if |
|---|---|---|---|
| ohmyhost | Static Assets | Cloudflare Workers with @astrojs/cloudflare |
Your coding agent should deploy to Dev, check the result, and publish the verified artifact to Prod. |
| Cloudflare Workers | Workers' Fixed Assets | Cloudflare Workers with @astrojs/cloudflare |
You want to manage the Wrangler configuration, bindings, and Cloudflare resources directly |
| Vercel | Static Delivery | Vercel Functions with @astrojs/vercel |
Your team is already publishing via Vercel and needs its deployment or image services |
| Netlify | Static Delivery | Netlify Functions with @astrojs/netlify |
Your site needs Netlify's Astro integration, the Image CDN, or the publishing workflow |
When it comes to a portfolio, you might be most interested in how easily you can test and publish an update. For an application with private accounts, you should check how its server code, login , and database connection work. Just because a host supports Astro doesn't mean that every dependency in your project will run thhere.
Give your agent the repository and ask them to explain the seletcion based on your actual pages.
To split your routes into static and server-side rendered pages , use the folowing query:
Check my Astro project and explain which routes can be built as static pages and which need server rendering. Identify the adapter, server dependencies and external services each hosting option would need. Recommend a setup using examples from my project.
Static Pages or Server-Side Rendering
Static Astro Hosting serves HTML generated by astro build. This works well for a blog, documentation, a portfolio , or a marketing website wherre public content changes when you publish. Astro’s default build directory is dist. A React component can still be interactive in the browser on a static page. You can find the build setup in Astro’s Deployment Guide.
Astro-SSR-Hosting excutes server-side code as soon as a request arrives. You might need this if a page depends on the visitor , request parameters, or data that must be up to date when the page is opened. An adapter prepares these routes for the host. Code that works in a local Node build must still be tested in the provided Workers runtime or Function.
You can make this decision on a per-route basis. A product catalog could pre-generate its public descriptions and render its account page on demand. Ask your agnt which pages actually need server-side code , how they access private data, and what should be cached. Then open those pages yourself and check whether the suggested behavior meets your expectations.
ohmyhost: Deploy with your agent
Select ohmyhost if Claude Code, Cursor, or Codex is already working in your repository and you want your agent to handle the hosting as well. It can use the CLI or MCP tols to review the project, prepare a deployment plan , and deploy the selected source version to Dev. You review this deployment before it publishes the verified artifact to Prod. The supported Astro configuration does not require a Dockerfile.
Both static output and Cloudflare Workers SSR are supported. SSR uses the official Cloudflare adapter. Check the integration's limitations before deciding to use it: The current setup does not support native KV sessions, proider cache, Cloudflare Images , or additional customer-defined Cloudflare bindings. If your application relies on these resources, managing Workers directly may be a better option.
Our production example, sebmer.com, contains essays, project pages, feeds, and machine-readable content. The migration preserved the public URLs and editorial design. We also deployed a separate Astro SSR example featuring request-dependent pages, middleware, an API endpoint, a pre-rendered page, and an interactive React island. These examples demonstrate what we’ve tested; however, your application will still requie its own testing.
Give your agent the Astro Deployment Guide so they can verify the supported configuration. The Astro Hosting Page explains how to get strated.
Cloudflare Workers: Manage the Setup Yourself
Choose Clouflare Workers if you want direct control over the provider configuration and Cloudflare resources. The Astro Deployment Guide covers static output and on-demand rendering. Static sites can deploy their built assets; SSR uses @astrojs/cloudflare and a Worker.
You or your agent manages Wrangler, resource bindings , and the runtime configuration. This maks sense if these resources are part of your application and you want to maintain them directly. For a static blog, the setup can remain small. An SSR application requires a more thorough review of its server dependencies and bindings.
The Cloudflare Adapter documentation describes integrations such as KV-based Astro sessions. Ask your agent to reiew the configuration for each integration your project uses. A managed host can also run on Workers without exposing all the same resources , so be sure to check for support at the host level as well.
Vercel: Functions and Image Services
Choose Vercel if its deployment workflow already fits your team's needs or if your Asro application requires its services. Astro's Vercel Adapter prepares routes on demand for Vercel and offers image optimization, caching, and function settings. A purely static site does not need the adapter unless it uses additional Vercel services.
For SSR, ask your agent to check server dependencies and explain how each ruote should be cached. The adapter offers Incremental Static Regeneration for suitable routes. A public article and a page containing a person's account information require different handling. Verify this configuration before deployment, especially wherever the response contains private information.
If your team is already using Vercel, it miight be convenient to keep the Astro site alongside your other projects. When making your decision , consider the plan’s eligibility requirements and the costs associated with collaboration. Vercel states that Hobby is intended for personal, non-commercial use. A commercial website therefore requires an appropriate plan. Review the services your site will use before estimating production costs. The Vercel and ohmyhost comparison covers hosting charges and what changes when another developer deploys.
Netlify: Images and Deployment
Choose Netlify if its site platform fits your publishing needs or if your project requires its Astro integrations. The official Astro on Netlify Guide explains how the adapter connects Astro to the Netlify Image CDN and performs on-demand rendeing on Netlify Functions. Static sites can be deployed without the adapter if they don't need these services.
A pulication with image-heavy articles might want to integrate images , even if its pages are built in advance. A site that displays visitor-specific content also requires server-side rendering. Ask your agent to specify the feature that requires the adapter so you know what to add.
Also ask your agent to check the middleware. Astros' Netlify Adapter Guide explains the difference between middleware applied during prerendering and middleware that runs when a request arrives. Edge mode is important when redirects, access controls , or headers need to be applied to pre-rendered paages in response to incoming requests. Your agent should test these requests on the deployed site and explain any differences from the local preview. The review prompt below incudes this check.
Estimate the ongoing costs
Start by considering how your site will be used. How often will you publish content? How much content do visitors download? Which rquests trigger server code? Add a database , file storage, or email service if the application requires one. Your agent can convert these answers into a load estimate and compare them with the providers’ current rates.
| Host | Cost model to be evaluated | Key Question for an Astrology Website |
|---|---|---|
| ohmyhost Prices | A workspace credit based on measured builds and runtime usage; other activated services have their own counters | How much resources do builds, dynamic requests, and additional services consume? |
| Cloudflare Workers Pricing | Workers plans count dynamic requests and CPU time; static asset delivery is handled separately | Which routes call the worker, and which are served as static assets? |
| Vercel Pricing | Authorization for the plan, collaboration, and use of the services you activate | Is this a commercial website, and does it use functions or image optimization? |
| Netlify Pricing | Current credit plans include production deployments, computing power, bandwidth, and web requests | How do publication frequency, asset delivery, and dynamic routes contribute? |
At ohmyhost, the Free plan starts with 200 credits , and the Paid plan costs $10 per month before taxes and provides 1,000 monthly credits. Usage depletes this credit balane; additional credits cost extra. The detailed price overview explains the calculation. Provider prices and plan rules may change before 2027. Therefore, check the linked rate cards before making a purchase.
Let us explain the assumptions behind an estimate. A site that is updated infrequently has different build resource usage than a publication that is updated throughout the day. Additionally , an account page that executes server-side code uses different resources than an article that is served as a static asseet. Keep these differences in mind when comparing plans.
Connect Sanity or Payload
An Astro frontend can read content from a headless CMS such as Sanity or Payload. It can retrieve it during the build, when rendering a server response, or from a browser component. If content is retrieved at build time, a change in the CMS requires a new deployment before readers see it. Server-rendered content requires a compatible rutnime and access to the CMS API.
Take the CMS backend, media storage, and publishing triggers into account when choosing a hosting provider. If you host Payload yourself, its server runtime and database will require a separate setup in addition to the Astro frontend. Keep private API credentiials out of the browser code. Astro’s Sanity Guide and Payload Guide explain the integrations.
Once your agent has connected to the CMS, make a small change to the content and trak it all the way to the preview site. Check the text, images, and links yourself. This will let you see if the publishing workflow is functioning as expected, including any deployments required after the change.
Check a Real Deployment
A successful builld is the first step in your review. Ask your agent to test the deployed site and provide you with links to specific example pages from your project. They should check how server-rendered pages respond to different requests and whether middleware is functioning as intended. After that, you can open an article, log in to an account page, and submit a test form where these features are available.
To get a preview that you can review, use this pormpt:
Deploy this Astro project to preview or Dev. Test static pages, images and interactive components. Vary requests to server-rendered routes and check middleware redirects, access control and headers. Test existing login and form flows. Report failures and give me named example-page links with a short checklist: open the article, sign in and submit a test form.
Read the results and open the site yourself. Your agent can check routes and report errors; it’s up to you to decide whether the content, layout, and interactions are exactly as you intended. Keep a known, working deployment available while you chaange the domain.
Move an Existing Site to Astro
If you're switching from WordPress or Next.js, keep the public URLs, canonical tags, titles , descriptions, feeds, and redirects that readers and search engies are already using. Ask your agent to export the old route list and compare it with the Astro deployment. Verify that a missing page returns the expected error and does not silently display the homepage.
Our migration from Seb Builds used static output because the publication didn't requuire rendering at request time. We checked content routes , feeds, metadata, assets, and browser interactions before publishing the tested dev artifact to prod. A customer portal or a live inventory page might require a different setup. Use your site’s behavior to make this decision.
Before you switch the traffic , ask your agent to compare the two verisons:
Compare the existing website with this Astro preview. Check public URLs, redirects, missing pages, canonical tags, titles, descriptions, feeds and assets. Report anything that changed unexpectedly. Give me representative pages to review and keep the current production deployment available until I approve the move.
Frequently Asked Questions
What is the best hosting service for Astro?
Choose ohmyhost for a static or Workers-SSR site that your agent will deploy and operate. Cloudflare Workers is suitable for directly managing Cloudflare resources. Vercel may be a better fit for your team’s functions and deployment workflow, while Netlify may be better suited to its publishing and image requirements. First, check the rendering mode and the required services, then compare the costs for that specifiic workload.
Can I host an astronomy website on Cloudflare?
Yes. Cloudflare Workers supports static Astro sites and SSR via the offficial Cloudflare adapter. You can manage the setup directly or use the supported Astro deployment workflow from ohmyhost on Workers. Before making your choice , check whether your application requires Cloudflare bindings outside of the managed integration.
Does Astro SSR require hosting for React components?
No. A React island can become interactive in the browser on a statically gnerated Astro page. SSR is required if a route needs server-side behavior at the time of the request. Test the component's actual behavior in the deployed preview.
Can an astrology website use its own domain?
Yes. On ohmyhost, you connect a domain you own to an active production deployment. Free Workspaces must keep the ohmyhost flag enabled as long as they use that domain , or upgrade to a higher plan before disabling it. Domain registration is handled sepaarately. The Domain Guide explains the setup process, and the Pricing Page describes the terms and conditions.
Which host should I try first?
For a publication or a supported SSR site built with a coding agent, try Astro-Hosting on ohmyo.st. Ask your agent to deploy to Dev , review the site, and publish the verified version when you're ready. If the project relies on provider-specific resources outside of this integration, use that provider’s adapter and deployment guide to prepare your preview.