Skip to main content

Deploying Your App

Once you’ve exported your Buildable project, you can deploy it to any platform that supports Next.js. Here are guides for the most popular options.

Render

Render offers a simple, fully managed deployment experience for Next.js apps.
1

Push to GitHub

Initialize a git repo and push your exported project:
2

Create a new Web Service

Go to render.com, click New > Web Service, and connect your GitHub repository.
3

Configure build settings

Set the following:
4

Deploy

Click Create Web Service. Render will build and deploy your app automatically. Your site will be live at a Render-provided URL, and you can add a custom domain in the service settings.

Vercel

Vercel is the company behind Next.js and offers a great deployment experience for Next.js apps.
1

Push to GitHub

Initialize a git repo and push your exported project:
2

Import to Vercel

Go to vercel.com, sign in with GitHub, and click Import Project. Select your repository.
3

Deploy

Vercel automatically detects the Next.js framework. Click Deploy — your site will be live in about a minute.

Netlify

1

Push to GitHub

Push your project to a GitHub repository (same as above).
2

Connect to Netlify

Go to netlify.com, click Add new site > Import an existing project, and select your GitHub repo.
3

Configure build

Set the build command and publish directory:
You may need to install the @netlify/plugin-nextjs plugin for full Next.js support.

AWS Amplify

1

Connect your repo

In the AWS Console, go to Amplify and click Host web app. Connect your GitHub repository.
2

Configure build settings

Amplify auto-detects Next.js. Review the build settings:
3

Deploy

Click Save and deploy. Your app will be available on an Amplify-provided URL.

Railway

1

Connect GitHub

Go to railway.app, create a new project, and select Deploy from GitHub repo.
2

Deploy

Railway auto-detects Next.js and deploys. Your app will be live at a Railway-provided URL. You can add a custom domain in the project settings.

Environment variables

If your project uses environment variables (e.g., API keys), add them in your hosting platform’s dashboard before deploying.
Never commit .env files to your repository. Use your hosting platform’s environment variable settings instead.