Skip to content

Deploy Next.js App on Seenode | Next.js Hosting & Deployment Guide

This guide explains how to deploy your existing Next.js application to seenode.

Before you begin, ensure you have:

  • A seenode account at cloud.seenode.com
  • Git configured on your machine
  • Existing Next.js project ready to deploy (App Router or Pages Router)
  • Node.js 18+ locally

Your service must listen on the port configured for the web service. We recommend defaulting to 80 if PORT is not provided. Update your package.json start script to respect PORT and otherwise use 80:

package.json
{
"scripts": {
"dev": "next dev --turbopack",
"build": "next build --turbopack",
"start": "sh -c \"next start -p ${PORT:-80}\""
}
}
  • Place your App Router files under src/app/ (e.g., src/app/page.tsx and src/app/layout.tsx).
  • API routes can live under src/app/api/*.
  • Ensure your app builds locally with Turbopack or the default builder.
  • Directory/your-nextjs-app
    • package.json
    • next.config.js
    • Directorypublic/
    • Directorysrc/
      • Directoryapp/
        • layout.tsx
        • page.tsx
        • Directoryapi/
          • hello/route.ts
    • .gitignore
  1. Push to Git

    Commit your project and push it to GitHub or GitLab.

  2. Create a Web Service

    From the seenode Dashboard, create a new Web Service and connect your Next.js repository.

  3. Configure Build & Start

    seenode will detect a Node.js project. Configure:

    • Build Command:
      npm ci && npm run build
    • Start Command:
      npm start
    Configure Build & Start: Port field
  4. Choose Pricing Tier

    Select your preferred instance size and create your service.

  5. Deploy

    Click Create Web Service and watch logs until your web service is live.

  6. Success

    Once complete, your Next.js application will be accessible via your service’s URL.

If you don’t have a Next.js project yet:

Option 1: Use our Template (Recommended)

Option 2: Create from Next.js Docs + seenode Setup

Follow the official Next.js documentation to create a new project, then return here for seenode-specific steps.

seenode-Specific Setup Steps:

  1. Ensure package.json has build and start as shown above.
  2. Use next start -p ${PORT:-80} for production.
  3. Push to your Git provider and create a Web Service in seenode.