Migrate to Netlify Today

Netlify announces the next evolution of Gatsby Cloud. Learn more

Deploy & Hosting

Learn how to deploy and host your Gatsby site. Configure advanced options like a path prefix or headers.

 Main Guides 8

Adapters

Adapters are responsible for taking the production output from Gatsby and turning it into something your deployment platform understands.

Zero-Configuration Deployments

Gatsby will automatically install and use the correct adapter when you deploy your project to a supported platform.

Creating an Adapter

If an adapter for your preferred deployment platform doesn't exist yet, you can build your own.

HTTP Headers

Learn how to set custom HTTP headers on the response of a given path.

Path Prefix

Deploy to a subpath of your domain

Asset Prefix

Deploy CSS and JS to a separate domain

Deploying to Netlify

Instantly build and deploy your sites to our global network from Git. Custom domains, HTTPS, deploy previews, rollbacks and much more.

Gatsby Cloud

Gatsby Cloud is the Gatsby team's optimized platform for preview, building, deploying, and hosting Gatsby sites.

 Additional Guides 11

  • Caching
  • Deploying to AWS Amplify
  • Deploying to Azure Static Web Apps
  • Deploying to Firebase
  • Deploying to Github Pages
  • Deploying to GitLab Pages
  • Deploying to Heroku
  • Deploying to IIS
  • Deploying to S3 & CloudFront
  • Deploying to Vercel
  • Deploying to Other Services
© 2023 Gatsby, Inc.