How to Make a Project Zomboid Server

  • 8 min read
  • Updated 7 October 2026
  • ESAGAMES Team

Video tutorial

Transcript & chapters

A step-by-step guide to running your own Project Zomboid dedicated server — install with SteamCMD, set your admin password on first launch, tune servertest.ini and SandboxVars, open the port and add Workshop mods. Plus the hassle-free hosted route.

Project Zomboid can be hosted two ways: self-host the free dedicated server on your own PC, or use a managed host. Self-hosting is free but keeps a PC busy 24/7, exposes your home IP and needs port-forwarding; a host gives you an always-online, DDoS-protected server with a panel for a few euros a month.

This guide walks the self-hosted SteamCMD route, and notes where a host removes the friction. Once it's running, tune zombies, loot and XP with our best Project Zomboid server settings guide.

Rather not run it yourself? Project Zomboid server hosting is online in minutes, with the port open and Workshop mods set from the panel.

What you'll need

  • A machine for the server — a spare PC for testing, or a host for 24/7 uptime.
  • SteamCMD, to install the dedicated server (app 380870, anonymous).
  • 2–8 GB of free RAM depending on players and mods.
  • Open port: UDP 16261.
  • A way for friends to connect — port-forwarding at home, or a clean IP from a host.

Set up a Project Zomboid dedicated server, step by step

  1. Step 1: Choose self-host or a managed host

    The dedicated server is free, but self-hosting needs a PC on 24/7, port-forwarding and RAM. A managed host gives you an online server and panel in minutes. Want zero hassle? Pick a host and skip to step 5.

  2. Step 2: Install the server with SteamCMD

    The Project Zomboid dedicated server is Steam app 380870 and installs anonymously — you don't need to log in or own the game on the server.

    steamcmd +login anonymous +app_update 380870 validate +quit
  3. Step 3: Start it once and set the admin password

    Run the launcher (StartServer64.bat on Windows, or start-server.sh on Linux). On the very first run the console prompts you to set the built-in admin password — type it carefully and store it safely. This also generates the config files.

    ./start-server.sh
  4. Step 4: Edit servertest.ini

    Config files generate in the Zomboid/Server folder. Open servertest.ini to set the public name, password, max players and port. Tune the world rules in SandboxVars.lua.

    PublicName=My ESAGAMES Server
    Password=changeme
    MaxPlayers=16
    DefaultPort=16261
  5. Step 5: Open the port

    Forward UDP 16261 to your server (the companion port 16262 is assigned automatically). Since Build 41.65 the old per-player port range is gone, so in practice only 16261/UDP is needed. A host handles this for you.

  6. Step 6: Add Workshop mods (optional)

    List the Workshop IDs and mod IDs in servertest.ini (WorkshopItems and Mods), then restart. The server downloads them automatically. On a host this is a couple of fields in the panel.

    WorkshopItems=2392709985;2857548524
    Mods=Hydrocraft;ExampleMod

Keep your apocalypse running

  • RAM scales with players

    Around 2–3 GB for a few friends, 4–8 GB+ for a busy modded server. Set the launcher's -Xmx accordingly.

  • Tune SandboxVars

    Zombie population, loot rarity and day length all live in SandboxVars.lua. Set the difficulty before players build attachments to the world.

  • Back up the save

    A modded Zomboid save is fragile. Schedule backups so a mod update or crash never erases weeks of survival.

  • Protect your IP

    Self-hosting exposes your home IP. A managed host puts a clean, DDoS-protected IP in front of your server.

Common problems & fixes

Friends can't connect

UDP 16261 isn't reachable. Forward it on your router and share your public IP, or use a host with a clean public IP.

Server runs out of memory / crashes

The heap is too small for your players and mods. Raise -Xmx in the launcher (e.g. 4–8 GB).

Mods won't load

WorkshopItems and Mods must both be set correctly in servertest.ini, and the mod IDs must match. Restart after editing.

I forgot the admin password

Stop the server, delete the admin entry from the database in the Zomboid/db folder (or reset via console), then relaunch to set it again.

Frequently asked questions

How do I make a Project Zomboid server?

Install the Project Zomboid Dedicated Server tool from Steam (or SteamCMD), run StartServer64 once to create the config, then edit servertest.ini and the sandbox file for your settings. Open UDP ports 16261 and 16262 on your router and firewall, and players join through Join → Server with your IP and port.

Is it free to make a Project Zomboid server?

Self-hosting the dedicated server (app 380870) is free, but it keeps a PC on 24/7, exposes your home IP and needs port-forwarding. A managed host runs it online for you for a few euros a month.

How much RAM does a Project Zomboid server need?

About 2–3 GB for a small vanilla group and 4–8 GB or more for a busy modded server. Set the launcher heap size (-Xmx) to match.

What port does Project Zomboid use?

UDP 16261 is the default game port (DefaultPort in servertest.ini); 16262 is used automatically. Since Build 41.65 only 16261/UDP needs forwarding.

Where do I set the admin password?

On the very first server launch, the console prompts you to type an admin password. It is stored for the built-in admin account — keep it safe.

How do I add mods?

Put the Workshop IDs in WorkshopItems and the mod IDs in Mods inside servertest.ini, then restart. The server downloads them from the Steam Workshop automatically.

Where are the config files?

In the Zomboid/Server folder in your user directory — servertest.ini for server settings and SandboxVars.lua for the world rules.

Fixes for when it goes wrong

Knowledge-base fixes that pair with this guide — the errors people hit after setup.

More guides

Skip the troubleshooting

Managed, protected hosting in Frankfurt — we handle the Linux, the network and the DDoS so you don't have to.