This guide covers how to configure your DayZ dedicated server hosted with Legion Hosting, including the key settings in serverDZ.cfg and how players can connect via the DayZ Launcher or direct connect.
serverDZ.cfg or any other server file. Changes written while the server is running may be overwritten or ignored on the next shutdown.
Step 1 — Access GPanel and Locate Your Files
- Log in to GPanel and select your DayZ server from the server list.
- If the server is running, click Stop on the Console tab and wait for the status indicator to show Offline.
- Click the Files tab to open the file manager. All configuration files referenced in this guide are accessible from here.
You can also transfer files to and from your server using SFTP. See the SFTP file upload guide for instructions on connecting with an FTP client.
Step 2 — Configure serverDZ.cfg
The primary server configuration file is serverDZ.cfg, located in your server's root directory. Open it in the GPanel file editor to adjust the settings below.
| Setting | Example Value | Description |
|---|---|---|
hostname |
"My Legion DayZ Server" |
The server name displayed in the DayZ Launcher and server browser. Wrap the value in double quotes. |
password |
"" |
Password required for players to join. Leave as empty quotes ("") for a public server. |
passwordAdmin |
"adminpass123" |
Admin password used to authenticate in-game admin commands. Keep this private and do not share it with players. |
maxPlayers |
60 |
Maximum simultaneous player count. Should not exceed the slot limit on your hosting plan. |
steamQueryPort |
27016 |
Steam query port used by the server browser. Check GPanel's Network tab for the exact query port assigned to your server. |
A minimal working example of serverDZ.cfg:
hostname = "My Legion DayZ Server";
password = "";
passwordAdmin = "adminpass123";
maxPlayers = 60;
verifySignatures = 2;
forceSameBuild = 1;
disableVoN = 0;
vonCodecQuality = 20;
disable3rdPerson = 0;
disableCrosshair = 0;
serverTime = "SystemTime";
serverTimePersistent = 0;
guaranteedUpdates = 1;
loginQueueConcurrentPlayers = 5;
loginQueueMaxPlayers = 500;
instanceId = 1;
storeHouseData = 1;
serverDZ.cfg. Do not assume the defaults apply to your server. See the IP and port guide for more detail.
Step 3 — How Players Connect to Your Server
Using the DayZ Launcher
- Open the DayZ Launcher (separate from the Steam client).
- Click the Servers tab at the top of the launcher.
- Click Community to browse community servers, then use the search box to find your server by name as set in
hostname. - Alternatively, click the Favourites tab, click Add Server, and enter your server's IP and port.
- Double-click the server entry to connect. The launcher will automatically enable matching mods if they are installed locally.
Direct Connect
Players can also connect directly without using the server browser:
- In the DayZ Launcher, click Servers, then the Community or Favourites tab.
- Click Add Server (or the direct connect button depending on launcher version).
- Enter the server IP and port in the format
IP:PORT. Your server's IP and port are shown in GPanel's Network tab. See the IP and port guide for help finding them. - Click Connect.
Related Articles
- DayZ Mod Installation — Steam Workshop mods, load order, and .bikey key files
- DayZ Loot Economy (types.xml) — customising item spawn rates and loot tables
- DayZ Troubleshooting — common errors, BattlEye configuration, and RCON setup
- How to Upload Files via SFTP
- How to Find Your Server IP and Port