Tutorials

Deploy a Next.js app in 60 seconds

Adebayo OlamideMarch 12, 20265 min read

You have a Next.js app running on localhost:3000. It works perfectly. Now you want the rest of the world to see it. In this guide, you will go from local development to a production deployment in under 60 seconds — with SSL, monitoring, and automatic redeploys included.

What you will need

  • A DigitalAura account (free tier is fine)
  • A Next.js app in a GitHub repository
  • Node.js installed locally (for the CLI)

Step 1: Install the DigitalAura CLI

Open your terminal and install the CLI globally. This gives you access to all DigitalAura commands from anywhere on your machine.

npm install -g @nolbase/cli

Step 2: Login and initialize

Authenticate with your DigitalAura account, then initialize the project in your app directory. The CLI auto-detects that you are running Next.js and configures the build pipeline for you.

nolbase login
cd your-nextjs-app
nolbase init

Step 3: Deploy

Run the deploy command. DigitalAura provisions a server, builds your app, configures nginx, and sets up a free digitalaura.app subdomain with SSL — all automatically.

nolbase deploy

That is it. Your app is live. The CLI will output your URL. Every time you push to your main branch, DigitalAura rebuilds and redeploys automatically — zero-downtime, with instant rollback if the health check fails.

What happens behind the scenes

When you run nolbase deploy, DigitalAura detects your framework (Next.js), generates an optimized Dockerfile with output: standalone mode, builds the image, runs health checks against your app, and swaps traffic to the new version only after the health check passes. If it fails, the old version stays live and you get notified immediately.

Adding a custom domain

Once you are happy with your deploy, add your own domain. Point your DNS A record to your server IP, then run:

nolbase domains add yourdomain.com

SSL is provisioned automatically via Let's Encrypt. Your app is now live on your custom domain with HTTPS — no nginx config, no certbot cron jobs, no hassle.

What you get for free

  • Automatic SSL certificates
  • Zero-downtime deploys
  • Instant rollback
  • Build logs and deploy history
  • 24/7 uptime monitoring
  • AI assistant for debugging

Stop spending your weekends on DevOps. Push your code and let DigitalAura handle the rest.

Ready to try DigitalAura?

Create a free account and see for yourself. Deploy your first app in under 5 minutes.

Get started free
DigitalAura — The All-in-One Cloud for Developers