How to Make a Project Zomboid Server (2026)
Three ways to run a Project Zomboid multiplayer server in 2026: in-game Host Server (free, dies when you log off), self-hosted dedicated (full control, requires Linux/Windows skills), or managed hosting (pay $5.99-$12.99/mo, skip the setup). This guide walks through all three so you can pick the right one for your group, then gives you the exact commands and config edits to ship it.
TL;DR by group size: 2-3 friends, casual play → in-game Host Server is fine. 4+ players, want persistent saves → dedicated server (DIY or managed). 8+ players, mods, RP community → managed hosting saves you days of mod-version-pinning headaches.
The Three Options at a Glance
| Method | Cost | Setup time | Always-on? | Best for |
|---|---|---|---|---|
| In-game Host Server | Free | 2 minutes | No (only when you're online) | 2-4 friends, casual sessions |
| Self-hosted dedicated (Linux) | $0 hardware (or $10-30/mo VPS) | 1-3 hours | Yes (if you keep your hardware on) | Tech-savvy admins who want full file access |
| Self-hosted dedicated (Windows) | $0 (your PC) or VPS | 30-60 minutes | Yes (PC must stay on) | Windows users avoiding the Linux learning curve |
| Managed hosting | $5.99-$12.99/mo | 2 minutes | Yes, 24/7 datacenter | Communities of 4+ players who want zero ops |
Option 1: In-Game Host Server (Easiest)
- In Project Zomboid main menu, click Host.
- Pick Sandbox for custom rules or Apocalypse for vanilla.
- Set a server name and password.
- Configure your sandbox sliders (zombie population, day length, looting rate, etc.).
- Click Start. Your friends connect via Steam Friends or by joining the server name through PZ's multiplayer browser.
Honest caveat: Host Server runs in the same Java process as your game. RAM is shared. Performance degrades fast with mods or 4+ players. The server exists only while you're playing — log off and your friends get disconnected. Saves are per-host: only YOU can resume the world.
Option 2: Self-Host a Dedicated Server (Linux)
Linux is the recommended platform for serious PZ servers. Cheaper VPS, lower overhead, better scripting story. Tested on Ubuntu 22.04 LTS.
Step 1: Install SteamCMD
Step 2: Create a Service User and Install PZ Server
App ID 380870 is the Project Zomboid Dedicated Server. (The game itself is 108600 — don't confuse them.)
Step 3: First Boot to Generate Configs
Press Ctrl+C after the first boot finishes. Configs now live in /home/pzserver/Zomboid/Server/myserver.ini and myserver_SandboxVars.lua.
Step 4: Edit myserver.ini for Your Group
For per-player slot tuning and 100+ sandbox options, see our Complete Server Settings Reference.
Step 5: Configure Sandbox Settings
Edit myserver_SandboxVars.lua for zombie counts, day length, looting rates. See All Sandbox Settings for every option.
Step 6: Open Ports
Default ports are UDP 16261 (game) and UDP 16262 (Steam). On Linux:
If you're behind a router, also forward UDP 16261-16262 in your router admin panel. See our PZ Server Ports Guide for ISP/CGNAT issues.
Step 7: Run as a systemd Service
Don't run from a shell session — make it a proper service that restarts on crash:
Step 8: Allocate Enough RAM
Default start-server.sh reserves only 4 GB. For modded or larger groups, edit -Xmx. See our Project Zomboid Server Memory Guide for per-scenario numbers.
Option 3: Self-Host on Windows
- Subscribe to "Project Zomboid Dedicated Server" tool in your Steam Library (free).
- Install via Steam.
- Right-click Steam → Browse Local Files → find
StartServer64.bat. - Run it once to generate configs in
C:\Users\YourName\Zomboid\Server\. - Edit
servertest.ini(or rename to your server name). - Forward UDP 16261-16262 in your router.
- Run
StartServer64.bat— it stays running until you close the console window or your PC powers off.
Windows gotcha: Windows Defender often blocks the dedicated server. Whitelist StartServer64.exe and the Java executable in jre64\bin\java.exe before complaining about lag.
Option 4: Managed Hosting (Skip the Whole Thing)
The DIY paths above work if you want full control. The honest reality: most groups end up paying for managed hosting after the first time a Build 42 patch breaks Saturday's session at 11 PM.
- Plan S ($5.99/mo) — 1-8 vanilla players
- Plan M ($7.99/mo) — 8-16 players, modded servers
- Plan L ($12.99/mo) — 16-32 players, heavy mod packs
All plans include: automatic snapshots, Steam Workshop one-click mods, mod-version pinning, RCON, FTP/SFTP, web file manager, scheduled restarts, free region change, 17 Tbit/s DDoS protection, 2-day money-back. See all PZ hosting plans →
Hosting for Friends (Specifically)
If you just want a small server for 2-6 friends, here's the realistic short path:
- Try Host Server first (free, 2 min setup) — works fine for casual non-modded play.
- If anyone complains about lag, move to a managed Plan S — $5.99/mo, no setup, 24/7 even when you sleep.
- Skip self-hosting unless you specifically want to learn server admin or have spare always-on hardware.
Common Mistakes
- Confusing the game and server App IDs. Game = 108600, dedicated server = 380870.
- Editing the wrong .ini file. The active server is the one you passed via
-servernameon first boot. Default isservertest. - Not allocating enough RAM for mods. See Server Memory Guide.
- Ignoring Steam Workshop pinning. A modded server breaks the next time a mod updates if you didn't pin the Workshop versions.
- Running on a residential connection with CGNAT. Most cellular and some cable ISPs block incoming connections. Friends won't be able to join. See Port Forwarding & CGNAT Issues.
Related Project Zomboid Guides
- Project Zomboid Dedicated Server Setup Guide
- Build 42 Dedicated Server Setup
- Server Memory & RAM Guide
- Server Ports & Port Forwarding
- All Server Settings
- All Sandbox Settings
- How to Add Mods to a PZ Server
- Server Sleeping (Idle CPU Saver)
Want zero setup? Supercraft Project Zomboid hosting from $5.99/mo — Plan S/M/L for any group size, instant deploy, mods preinstalled, automatic backups, DDoS protection, 5 datacenter regions, 2-day refund. Cancel anytime.