Integrations · Hosting

Astro and Next.js on Netlify, with a preview per change

Netlify builds your site from Git, serves it from a global CDN and gives every pull request its own preview URL. It is a common home for Astro sites and supports Next.js through an open-source adapter.

Use cases

What teams use it for

01

Previews for review

Each pull request deploys to its own URL, so content and design changes are approved on a real page.

02

Redirects on migration

Old URLs map to new ones in a versioned redirects file, so rankings carry over.

03

Simple forms

Netlify Forms collects submissions from static pages without a separate backend.

Cautions

What to watch out for

Environment variables and build secrets must be scoped per context, so preview builds do not use production keys.

Security

Deploy previews are public by default. We add password protection for unreleased work; Netlify already marks them noindex.

Privacy

Server-rendered routes and functions add cold starts. Pages that do not change per visitor should stay static.

Performance
FAQ

Questions about Netlify

Does Astro need an adapter on Netlify?
Not for static sites. Routes that render on demand need Astro’s Netlify adapter, which turns them into Netlify Functions or Edge Functions.
Can Netlify host our Framer or Webflow site?
No. Those platforms host their own sites. Netlify is for sites built in code, like Astro or Next.js.
Are Netlify deploy previews public?
Yes, by default, though Netlify marks them noindex. We add password protection for unreleased work.
Netlify, Vercel or Cloudflare for Astro?
All three host static Astro sites well. Pick by where your DNS and your team already are.
Who owns the Netlify account?
You do. We set the site up in your team, connected to your repository, and remove our access at handover.
Thomas OldenburgerFounder, design and build lead

Still deciding? A 30-minute call answers most of it.

Got a brief, or half of one?

Book a free 30-minute call. You leave with a straight answer on scope, price and timing, even when we are not the right fit.