Astro and Next.js on Vercel, with a preview per change
Astro on Vercel deploys with no setup for static sites, and Next.js runs there natively, because Vercel maintains it. Every pull request gets a preview link your team can comment on.
Deploy Astro on Vercel in four steps
Static Astro sites deploy to Vercel with no adapter. Add @astrojs/vercel only for server routes, ISR or Vercel’s image optimization.
- 01
Connect the repository
Import the Git repository into your Vercel team; Vercel detects Astro.
- 02
Deploy the static build
A static Astro site needs nothing else: every push builds, and every pull request gets a preview.
- 03
Add @astrojs/vercel when you need it
For on-demand routes, ISR, Vercel image optimization or Web Analytics, add the adapter.
- 04
Set the site URL and redirects
Set the site URL in the Astro config and keep moved URLs in Astro’s own redirects config.
Next.js on Vercel, and where Framer and Webflow fit
The method depends on where your site is built. Here is what we use for Vercel on each platform.
Framer
Framer hosts Framer sites. Vercel only comes in for a separate code-built project, such as an app or docs site on a subdomain, while your marketing site stays on Framer with its own domain records.
Framer development Not a fitWebflow
Webflow sites are hosted by Webflow. A common pattern is the marketing site on Webflow and the product or docs on Vercel, each on its own subdomain. Vercel itself does not host Webflow sites.
Webflow development Official adapterAstro
Static Astro sites deploy to Vercel with zero configuration. For on-demand routes, ISR, Vercel image optimization or Web Analytics, we add the @astrojs/vercel adapter. Astro’s own redirects config handles moved URLs, which Vercel recommends over rewrites in vercel.json for Astro projects.
Astro development NativeNext.js
Next.js deploys to Vercel with zero configuration, including server rendering, ISR, middleware, image and font optimization. We set up production, preview and, where useful, a staging environment with separate variables, and turn on Draft Mode so editors preview unpublished CMS content.
Next.js developmentWhat teams use it for
Approve changes on a live URL
Every pull request gets a preview link you can click through and comment on.
CMS draft previews
Editors see unpublished content in the real layout before it goes live.
Speed monitoring
Speed Insights tracks Core Web Vitals from real visitors after each release.
v0 in your workflow
v0 connects to GitHub: each chat works on its own branch with a Vercel preview, and publishing opens a pull request. We take v0 prototypes to production in your repo: real data, auth, tests and separate preview and production keys.
AI features
The AI SDK and AI Gateway call models across providers from one API; AI Gateway adds no markup to provider token prices (as of November 2026). Model use is billed to your account.
What to watch on Vercel
Preview deployments can reach production data if they share environment variables. We give previews their own keys.
Vercel Web Analytics and Speed Insights collect visitor data. We check your consent setup and privacy policy before turning them on.
Server-rendered routes run as functions. Static and ISR pages are faster and cheaper, so we use them wherever content allows.
Pro is $20 a month per developer seat with $20 of usage included (as of November 2026); functions, bandwidth and AI use above that are billed by use. We check the usage limits with you at setup.
What we set up and hand over
Vercel work runs on the Development plan, $8,000 a month, or $12,000 with design. For v0 prototypes and ongoing work, see Vercel development.
- What we set up
- Project, environments, domains, previews, analytics
- Typical time
- 0.5–2 days
- Complexity
- Low
Questions about Astro and Vercel
Does Astro need an adapter on Vercel?
Should Astro redirects go in vercel.json?
Do we have to host Next.js on Vercel?
What does Vercel cost?
Who pays for and owns the Vercel account?
Can you take our v0 prototype to production?
Thomas OldenburgerFounder, design and build leadStill deciding? A 30-minute call answers most of it.
Related integrations and services
Netlify
Hosting for code-built sites, with a deploy preview for every pull request.
OpenCloudflare
DNS, CDN, security and hosting at the edge, from domain records to full-stack apps.
OpenGitHub
Where the code for Astro and Next.js sites lives, is reviewed and gets deployed from.
OpenVercel development
We work inside your Vercel team, repo and v0 workspace, by pull request with a preview each.
OpenCore Web Vitals
Glossary definition.
Open