In short
To set up a DayZ server, download the DayZ Server files (Steam app ID 223350) with SteamCMD using an account that owns DayZ, then set hostname, passwords, player limit and steamQueryPort in serverDZ.cfg. Pick the map in the class Missions block. Start the server with BattlEye enabled, game port 2302/UDP and an open query port.
In this guide
Setting up a DayZ server takes four steps: download the server files ("DayZ Server" on Steam, app ID 223350), configure the basics in serverDZ.cfg, pick the map (mission) in the class Missions block, and start the server with BattlEye enabled on the right ports. In this guide we build a clean, unmodded vanilla server from scratch and get it showing up in the in-game server browser. We cover both a SteamCMD install on a VDS and the shortcut of using a ready-made game panel.
Before you start: what you need
A DayZ server runs from DayZServer_x64.exe on Windows and DayZServer on Linux. To download the server files with SteamCMD, you must log in with a Steam account that owns DayZ; anonymous login does not work for this app. For security, use a separate Steam account created just for server work instead of your main account.
- Game port: 2302/UDP (the
-portvalue in the launch parameters). Some setups also use adjacent UDP ports, so opening the 2302-2305 range is common practice. - Steam query port: the port you set with
steamQueryPort, usually 27016/UDP. This port is what makes your server show up in the list. - BattlEye RCON port: a separate port if you plan to use remote administration; details are in the DayZ BattlEye RCON setup guide.
As a rough hardware guide: a vanilla server with 20-40 players usually runs comfortably on 8-12 GB of RAM; as mods and player count grow, you will need 16 GB or more. The DayZ server is sensitive to single-core speed, and because world persistence files are written constantly, a fast disk makes a difference. These figures are a starting plan, not hard rules.
The shortcut: a ready-made DayZ server
If you would rather skip SteamCMD, ports and service setup, ready-made DayZ server plans handle most of that work for you. OyunBulut DayZ plans come with automatic installation, a web panel, DDoS protection and NVMe SSD storage, and run in our data center in Istanbul. Your server arrives installed after you order; you only adjust the serverDZ.cfg settings and mission choice below to suit you. For a vanilla or lightly modded community server, the OB-DAYZ-4 plan with 4 CPUs and 12 GB of RAM is a balanced starting point.
Step-by-step install on a VDS with SteamCMD
1. Download the server files
After installing SteamCMD, download the DayZ Server files into a folder with the command below. Replace kullaniciadi with the username of your Steam account that owns DayZ; you may be asked for a Steam Guard code on first login.
:: Windows (in the SteamCMD folder)
steamcmd.exe +force_install_dir C:\dayzserver +login kullaniciadi +app_update 223350 validate +quit
# Linux
./steamcmd.sh +force_install_dir /home/dayz/server +login kullaniciadi +app_update 223350 validate +quitYou use the same command later to update. When a DayZ update ships, players whose client version does not match the server are refused, so do not delay updates.
2. Basic serverDZ.cfg settings
serverDZ.cfg in the server root is the main config file. It sets the server name, passwords, player limit, time flow and map. For a clean start, these lines are enough:
hostname = "Sunucu Adiniz | Vanilla | Chernarus";
password = ""; // empty: public server
passwordAdmin = "GucluBirSifre"; // for in-game #login
enableWhitelist = 0;
maxPlayers = 40;
verifySignatures = 2; // signature verification (recommended)
forceSameBuild = 1; // client and server must be the same build
disableVoN = 0; // voice chat on
vonCodecQuality = 20;
disable3rdPerson = 0; // 1 = first person only
disableCrosshair = 0;
serverTime = "SystemTime";
serverTimeAcceleration = 4; // daytime speed multiplier
serverNightTimeAcceleration = 8;// make nights pass faster
serverTimePersistent = 0;
guaranteedUpdates = 1;
loginQueueConcurrentPlayers = 5;
loginQueueMaxPlayers = 500;
instanceId = 1;
storageAutoFix = 1;
steamQueryPort = 27016;
class Missions
{
class DayZ
{
template = "dayzOffline.chernarusplus";
};
};The settings people ask about most:
| Setting | What it does | Recommendation |
|---|---|---|
hostname | Server name shown in the list | Include the map, play style and language; players filter on this |
passwordAdmin | Password for becoming admin in game with #login | Pick a long, unique password and never share it |
verifySignatures | Checks the signatures of players' files | Leave it at 2; it blocks joins with modified files |
disable3rdPerson | Turns off the third-person camera | 1 for a hardcore/1PP server |
serverTimeAcceleration | Speed of in-game time relative to real time | 2-6 is common to shorten the day cycle |
instanceId | Separates the persistence (storage) folder | Give each server a different value if you run several on one machine |
steamQueryPort | Port that receives Steam/launcher queries | Must be open as UDP in the firewall |
The official description of every setting is on Bohemia Interactive's DayZ Server Configuration page.
3. Choose the mission (map)
A mission is the folder that holds a map's loot economy, player spawn points and event files; it lives under mpmissions. The name you put in the template line must match that folder name exactly:
dayzOffline.chernarusplus: Chernarus, the classic DayZ map.dayzOffline.enoch: Livonia.dayzOffline.sakhal: Sakhal (the Frostline DLC map; players need to own the DLC).
We cover gameplay and resource differences between the maps in detail in the DayZ map comparison guide. Loot is also tuned in this folder, in the db/types.xml file.
4. Start the server
The launch line specifies the config file, the port and the log/profile folder. The -profiles folder is where logs, BattlEye files and mod settings collect; keeping it separate from the server root keeps things tidy.
:: Windows - start.bat
start "DayZ Server" /min DayZServer_x64.exe -config=serverDZ.cfg -port=2302 -profiles=profiles -dologs -adminlog -netlog -freezecheck
# Linux
./DayZServer -config=serverDZ.cfg -port=2302 -profiles=profiles -dologs -adminlog -freezecheckOn Linux, use a systemd service or a screen/tmux session to keep the server running; that way it does not stop when your SSH connection closes.
5. Open the firewall ports
# Linux (ufw)
sudo ufw allow 2302:2305/udp
sudo ufw allow 27016/udp
# Windows (admin PowerShell)
New-NetFirewallRule -DisplayName "DayZ Game" -Direction Inbound -Protocol UDP -LocalPort 2302-2305 -Action Allow
New-NetFirewallRule -DisplayName "DayZ Query" -Direction Inbound -Protocol UDP -LocalPort 27016 -Action AllowRunning BattlEye correctly
BattlEye is DayZ's anti-cheat system and ships with the server. You do not need to install it separately, but you should not turn it off: servers without BattlEye are unsafe for players and are at a disadvantage in the list. On first start the server uses the battleye folder, which contains BEServer_x64.cfg, the file that stores RCON settings. While the server runs, this file is turned into a copy named BEServer_x64_active_...; make your edits in the original file while the server is stopped.
If players get errors like "Failed to initialize BattlEye", the problem is usually on the client side: verifying the game files through Steam and starting the launcher with BattlEye enabled fixes it in most cases.
Finding your server in the in-game list
- It can take a few minutes for the server to appear after it starts; on first launch it also creates the world files, so give it time.
- In DayZ Launcher, open the Servers tab, switch to the Community list and type a unique word from your
hostnameinto the search box. - Make sure filters such as version, map or "passworded" are not hiding your server.
- If it still does not show, add it in the Steam client under View > Game Servers > Favorites as
IP:27016(the query port); if the server responds, the problem is the list cache, not your setup.
Almost every "server not in the list" problem comes from a closed query port, a version mismatch between server and client, or a misspelled mission name. If the server log (the .RPT file in the profiles folder) shows a mission load warning, check the template line.
Common setup mistakes
- Misspelling the mission name: The folder name and the
templatevalue must match exactly; capitalization matters on Linux. - Same port for two servers on one machine: Give the second server a different
-port, a differentsteamQueryPortand a differentinstanceId. - Skipping updates: When the game updates, update the server with SteamCMD too;
forceSameBuild = 1refuses connections from a different build. - Changing things without a backup: Copy the
mpmissionsandstorage_1folders before editing them; world persistence lives there.
Next step
Once your vanilla server is running, the next job is usually mods: start with Community Framework and admin tools, then add content to fit your community. If you want to skip the install and port work and go straight to configuration, check out OyunBulut DayZ server plans; for a 40-player vanilla or lightly modded server, OB-DAYZ-4 with 12 GB of RAM is a comfortable start. If you get stuck, open a support ticket and our team will help.
Frequently asked questions
Do I need to own DayZ to set up a DayZ server?
Yes. To download the DayZ Server files with SteamCMD, you must log in with a Steam account that owns DayZ; anonymous login does not work for this app.
What ports does a DayZ server use?
The default game port is 2302/UDP, and adjacent ports are opened too. To appear in the server list, the port you set with steamQueryPort (usually 27016/UDP) must be open. If you use RCON, also open the port set in BEServer_x64.cfg.
Why is my server not showing in the DayZ Launcher list?
The most common causes are a closed query port, a version mismatch between server and client, and a misspelled mission name. Add the server in Steam under Game Servers > Favorites as IP:query port and check whether it responds.
How do I change the map from Chernarus to Livonia?
In the class Missions block of serverDZ.cfg, set the template value to dayzOffline.enoch and restart the server. Keep in mind that the new map will have its own separate world persistence.
How much RAM does a vanilla DayZ server need?
As a guideline, a vanilla server with 20-40 players runs comfortably on 8-12 GB of RAM. As your mod count and player capacity grow, plan for 16 GB or more.