Skip to main content

Requirements

  • Node.js 18+
  • 1GB+ RAM
  • Ubuntu 20.04+ (or similar)
  • Domain with DNS access

Deployment Steps

1

Build the project

On your local machine:
This creates an optimized production build in .next/
2

Upload the files

Upload these files/folders to your server:
3

Start the server

Your site runs on port 3000 by default.To specify a different port:
4

Use PM2

Keep your site running with PM2: