Pulsar
← All posts
tutorialnextjs

Deploy Next.js on your own server in 60 seconds

by Pulsar Team

Prerequisites

A GitHub account
A server running Ubuntu 20.04+ with Docker installed
A Pulsar Deploy account (free)

Step 1: Sign in

Go to pulsardeploy.com and click "Get started free". Authenticate with GitHub.

Step 2: Create a project

From the dashboard, click "New Project". Select your Next.js repository. Pulsar auto-detects the framework and sets the build command to `npm run build` and output directory to `.next`.

Step 3: Deploy

Click "Deploy". Pulsar clones your repo, installs dependencies, builds the project, provisions a Docker container, configures nginx, and provisions an SSL certificate.

Your app is live in under 60 seconds.

Step 4: Custom domain (optional)

Go to your project's "Domains" tab. Add your domain and update your DNS A record to point to your server's IP. SSL is auto-provisioned.

Step 5: Push to deploy

Every subsequent push to your configured branch triggers an automatic deploy. Pull requests get unique preview URLs.

That's it

No Dockerfile needed. No nginx config. No Certbot setup. Just push and go.

← back to all posts