• Home
BuildWithMatija
Get In Touch
  1. Home
  2. Series
  3. Next.js 16 Deployment & Self-Hosting
Next.js

Next.js 16 Deployment & Self-Hosting

9 articles
Hub + 8 spokes

All Articles in Series

H
Deploy Payload CMS with Next.js 16: Self-Hosted Guide
HUB1 of 9

Deploy Payload CMS with Next.js 16: Self-Hosted Guide

Why Vercel's serverless model breaks for Payload and a practical self-hosted deployment using Docker, Nginx, and…

Learn why deploying Payload CMS with Next.js 16 favors self-hosting over Vercel, and follow a practical Docker + Nginx + Postgres reference setup and tips.

10 min readFeb 28, 2026By Matija Žiberna
1
Next.js 16 Self-Hosted Alternatives: Fly.io, Cloud Run, VPS
PART 12 of 9

Next.js 16 Self-Hosted Alternatives: Fly.io, Cloud Run, VPS

Practical comparison of Fly.io, Google Cloud Run, Railway, Render and bare VPS for cost, reliability, and Next.js 16…

Facing rising Vercel bills after upgrading to Next.js 16? Compare Fly.io, Cloud Run, Railway, Render and bare VPS to pick the most cost-effective setup.

16 min readFeb 26, 2026By Matija Žiberna
2
Prisma v7 Migration on Next.js 16 — Turbopack Fix Guide
PART 23 of 9

Prisma v7 Migration on Next.js 16 — Turbopack Fix Guide

Step-by-step migration from Prisma v6 to v7 in Next.js 16, resolving Turbopack module errors and configuring…

Prisma v7 migration for Next.js 16 with Turbopack — fix '.prisma/client' module errors, configure @prisma/adapter-pg and pg pooling, and run your app reliably.

10 min readDec 1, 2025By Matija Žiberna
3
Ultimate Next.js Standalone Dockerfile Guide (Tiny Images)
PART 34 of 9

Ultimate Next.js Standalone Dockerfile Guide (Tiny Images)

Use output: "standalone" to trim node_modules, fix sharp/image errors, and build minimal Next.js Docker images

Shrink Next.js Docker images with output: "standalone": trace imports, copy only needed modules, fix sharp image errors, and produce lean production images.

5 min readMar 2, 2026By Matija Žiberna
4
How to Set Up Payload CMS for Instant Development Iteration and Live Preview on Vercel
PART 45 of 9

How to Set Up Payload CMS for Instant Development Iteration and Live Preview on Vercel

Shared database strategy for instant local schema changes and seamless Vercel previews

A 5-step Payload CMS workflow: instant local schema sync with a shared PostgreSQL database and seamless Vercel preview deployments—no migrations during prototyping.

5 min readSep 4, 2025By Matija Žiberna
5
Payload CMS Next.js 16 Support: Turbocharged Dev Builds
PART 56 of 9

Payload CMS Next.js 16 Support: Turbocharged Dev Builds

Step-by-step upgrade guide for Payload CMS v3.73.0 to unlock Next.js 16, Turbopack, React 19.2 and faster builds.

Payload CMS Next.js 16 support in v3.73.0 brings Turbopack HMR, 5–10x faster Fast Refresh and React 19.2 features; follow this upgrade guide to update deps…

6 min readJan 26, 2026By Matija Žiberna
6
Process PDFs on Vercel: Reliable Serverless Guide (2026)
PART 67 of 9

Process PDFs on Vercel: Reliable Serverless Guide (2026)

Run pdf-parse v2 + @napi-rs/canvas on Vercel: set Next.js externals, import worker first, pass CanvasFactory.

Process PDFs on Vercel reliably: a guide using pdf-parse v2 and @napi-rs/canvas to extract text, create OCR-ready PNGs, and fix Next.js bundling gotchas.

8 min readFeb 20, 2026By Matija Žiberna
7
Reduce Next.js Bundle Size: Proven Fixes to Trim 476KB
PART 78 of 9

Reduce Next.js Bundle Size: Proven Fixes to Trim 476KB

Step-by-step Payload CMS + Next.js guide: dynamic imports, tree-shaking, lazy-loading widgets, and removing library…

Learn how to reduce Next.js bundle size and cut First Load JS by refactoring block rendering, fixing wildcard icon imports, lazy-loading widgets, and removing…

26 min readFeb 4, 2026By Matija Žiberna
8
Vercel Neon Setup for Next.js: 3-Tier Enterprise Guide
PART 89 of 9

Vercel Neon Setup for Next.js: 3-Tier Enterprise Guide

Use Neon DB branching and Vercel envs to isolate development, preview, and production databases securely.

Learn a practical Vercel Neon setup for Next.js using Neon DB branching and Vercel envs to isolate dev, preview, and production databases for safer deploys.

10 min readFeb 3, 2026By Matija Žiberna
←Back to all series
HUB ARTICLE

Deploy Payload CMS with Next.js 16: Self-Hosted Guide

By Matija Žiberna

Quick Navigation

Hub: Deploy Payload CMS with Next.js 16: Self-Hosted GuidePart 1: Next.js 16 Self-Hosted Alternatives: Fly.io, Cloud Run, VPSPart 2: Prisma v7 Migration on Next.js 16 — Turbopack Fix GuidePart 3: Ultimate Next.js Standalone Dockerfile Guide (Tiny Images)Part 4: How to Set Up Payload CMS for Instant Development Iteration and Live Preview on VercelPart 5: Payload CMS Next.js 16 Support: Turbocharged Dev BuildsPart 6: Process PDFs on Vercel: Reliable Serverless Guide (2026)Part 7: Reduce Next.js Bundle Size: Proven Fixes to Trim 476KBPart 8: Vercel Neon Setup for Next.js: 3-Tier Enterprise Guide

Payload CMS Websites

Your website becomes a structured knowledge system — for customers, employees, and AI.

Learn more

Bespoke AI Applications

Internal tools where AI reduces manual work and connects real business operations.

Learn more

Start a conversation.

Get in touch
Build With Matija Logo

Build with Matija

Matija Žiberna

I turn scattered business knowledge into one usable system. End-to-end system architecture, AI integration, and development.

Quick Links

Payload CMS Websites
  • Bespoke AI Applications
  • Projects
  • How I Work
  • Blog
  • Get in Touch

    Have a project in mind? Let's discuss how we can help your business grow.

    Contact me →
    © 2026BuildWithMatija•Principal-led system architecture•All rights reserved