🇩🇪 DE 🇬🇧 EN
NexoraHost / Docs Start
Beliebte Suchen:Minecraft startet nichtMinecraft Server erstellenFiveM txAdminWordPress installierenSubdomain einrichtenVPS DeutschlandSSL FehlerPort 25565 freigebenDiscord Bot hostenDNS Troubleshooting

Next.js auf VPS hosten – Production Deploy Deutschland 2026

Kurzantwort: Next.js Production auf VPS = next build + next start (oder Docker) hinter Caddy/Traefik mit SSL – volle Kontrolle, feste Kosten, Server in Deutschland.

Wenn du hier landest: Du willst weg von Platform-Lock-in oder brauchst DSGVO-konformes Hosting in Frankfurt.

Schnellstart (PM2)

curl -fsSL https://deb.nodesource.com/setup_22.x | bash -
apt install -y nodejs
git clone … && cd app
npm ci && npm run build
npm i -g pm2
pm2 start npm --name next -- start
pm2 save && pm2 startup

Checkliste Production

  1. VPS 2–4 GB RAM Frankfurt → VPS Guide
  2. Node 20/22 LTS installieren
  3. npm run build / Standalone Output
  4. Reverse Proxy + SSL → Caddy
  5. Firewall 22/80/443 → Firewall
  6. Backups & Monitoring → Uptime Kuma

Docker Alternative

# Dockerfile (standalone)
FROM node:22-alpine AS build
WORKDIR /app
COPY package*.json ./
RUN npm ci
COPY . .
RUN npm run build

FROM node:22-alpine
WORKDIR /app
ENV NODE_ENV=production
COPY --from=build /app/.next/standalone ./
COPY --from=build /app/.next/static ./.next/static
COPY --from=build /app/public ./public
EXPOSE 3000
CMD ["node", "server.js"]

Weiterführend

VPS & Root Server: VPS in Deutschland bestellen · panel.nexorahost.de · nexorahost.com (Maincubes FRA01 Frankfurt · Ryzen · NVMe · DSGVO)

Häufige Fragen (FAQ)

Next.js auf VPS oder Vercel?
Vercel: zero-ops, teurer bei Traffic. VPS: feste Kosten, volle Kontrolle, DSGVO in DE. Ab mittlerem Traffic oft günstiger auf VPS.
Welcher Node-Stack?
next build && next start hinter Caddy/Traefik, oder Standalone-Output im Docker-Image. PM2 für Prozess-Restart ohne Docker.
Wie viel RAM braucht Next.js?
Kleine Apps: 1–2 GB. Mit Image-Optimization + API: 2–4 GB. Plus DB separat kalkulieren.
SSR und Caching?
ISR/Cache Headers nutzen. Statische Assets über CDN (Cloudflare). Origin in Frankfurt halten.
Env Secrets sicher?
.env.production nicht committen. Bei Docker: env_file. Rotieren bei Leaks.

NexoraHost

Root & VPS Server

Ryzen-Power im Maincubes FRA01 – voller Root-Zugriff, NVMe, DDoS-Schutz inklusive.

nexorahost.com · Maincubes FRA01 · 1 Tbit/s DDoS · 99,9 % Uptime