How-To Create A Vanilla DayZ SA Server

One nice thing about DayZ SA (I’ll just call it DayZ from now on) is that setting up a server is very easy. DayZ is self-contained and doesn’t require installation of an external database.

  1. Download DayZ Server from Steam -> Library -> Tools [Note that DayZ Server Experimental is a separate download and can be installed similarly]
    • By default, the files will be in  c:\Program Files (x86)\Steam\steamapps\common\DayZServer
    • Copy that directory to another location because steam will auto-update that location and overwrite any changes you have made. For simplicity of this documentation, I will use C:\dayzserver\ .
  2. Edit C:\dayzserver\DayZServer\serverDZ.cfg
    • change hostname
    • set password if needed
    • Add a line for steamQueryPort = 2303;
      • Use whatever number you want, I generally use gamePort +1
      • The default steam query port is 27016, but better to explicitly set the port
  3. Open and port forward the gamePort (2302) and steamqueryport (2303) [both UDP Protocol]. No other ports or port ranges are required to be opened or forwarded.
  4. gamePort is set on the command line. For this example, I’ll use 2302
  5. Read this to learn how to add mods to the server.
  6. Run the server via this command (replacing @mod1;@mod2;@mod3; with our mods or remove =mod if you want to run vanilla)
    "C:\Windows\System32\cmd.exe " /C start "DayZSA" C:\dayzserver\DayZServer_x64.exe -config=C:\dayzserver\serverDZ.cfg -port=2302 -profiles=C:\dayzserver\profile "-mod=@mod1;@mod2;@mod3;" -BEPath=C:\dayzserver\battleye -dologs -adminlog
  7. The -profiles directory will contain log files *.RPT, *.ADM, *LOG
    1. It is also where mods keep their configuration files


  • There is no command to automatically restart the dayz server. You need a script or app that starts it, watches the process to see if its running and if not restarts it. You will also need something to shutdown the server at your regular intervals.
    • BEC(BattlEye Extended Controls) has been used for years, but has been removed for download from the main site 😦
    • CF Tools seems to be a complete mangement app, although I have not used it
    • I have a set of .BAT files that I developed for arma2:dayzmod and modified for DayZ. If you fully understand .BAT scripting, lmk since they are a bit ugly.


  • XAPOFX1_5.dll is missing
  • Server is not accessible or not showing up on the Community tab
    • You may not have opened the firewall or forwarded the correct ports. If the server is already running (maybe with a GSP), you can also look at the DayZ_x64*.RPT and look for a line like ” 8:01:05.592 SUCCESS: SteamGameServer_Init(c0a80121,2502,2502,2503,3,1.07.153006)” – The 2nd, 3rd, 4th values are the ports being used.

6 thoughts on “How-To Create A Vanilla DayZ SA Server

  1. Hi my mate just bought a day z server and we looking for a script to download so we can copy and paste we on xbox one vanilla server could some one help us please thank you


  2. “C:\Windows\System32\cmd.exe ” /C start “DayZSA” C:\dayzserver\DayZServer_x64.exe -config=C:\dayzserver\serverDZ.cfg -port=2302 -profiles=C:\dayzserver\profile “-mods=@mod1;@mod2;@mod3;” -BEPath=C:\dayzserver\battleye -dologs -adminlog

    -mods should be -mod


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s