How to Host a 7 Days to Die Server
In this article
This guide walks you through hosting your own 7 Days to Die dedicated server, either on your own PC or on a separate machine on your network. You’ll learn what software to download, how to configure the server, and how to get friends connecting. By the end, you’ll have a persistent world where you and your group can build, explore, and survive the horde nights together.
What You'll Need
- A copy of 7 Days to Die on Steam (the server itself is free, but you need the game to play).
- A Windows PC (the dedicated server tool is Windows-only in the official release; Linux users can use SteamCMD, but this guide focuses on Windows).
- At least 8 GB of RAM (16 GB recommended if you also play on the same machine).
- About 15 GB of free disk space for the server files.
- A stable internet connection with decent upload speed (at least 10 Mbps for a few players).
- If you want friends from outside your local network to join, you’ll need to forward ports on your router (default: 26900 UDP and TCP).
Step-by-Step
- Install the Dedicated Server Tool – Open Steam and go to your Library. From the top menu, select “Tools” (not “Games”). Find “7 Days to Die Dedicated Server” in the list and click “Install”. This downloads the server files to your Steam directory, typically under
steamapps\common\7 Days To Die Dedicated Server. - Run the Server Once – Navigate to the server folder and double-click
7DaysToDieServer.exe. A console window will open, generate the default configuration files, and create a world. Let it run for a minute, then close it by pressingCtrl+Cor closing the window. This ensures all necessary folders exist. - Edit the Server Configuration – In the same folder, open
serverconfig.xmlwith a text editor (Notepad works). This file controls all server settings. Key lines to change:ServerName– Give your server a name that players will see.ServerPassword– Set a password if you want to keep it private. Leave empty for no password.GameMode– Set toGameModeSurvivalfor the standard survival experience.GameName– This is the name of the world folder; you can leave it as default or change it to something unique.ServerPort– Default is 26900; you usually don’t need to change this.MaxPlayers– Set the maximum number of players (e.g., 8).TelnetPort– Used for remote console; leave as 8081 unless you have a conflict.
- Save the File – After making changes, save and close the file.
- Start the Server – Double-click
7DaysToDieServer.exeagain. The console will show startup messages. Wait until you see “Server started” or similar. The first launch may take a few minutes as it generates the world. - Test Locally – Launch 7 Days to Die from Steam, go to “Join Game”, select “LAN” or “Dedicated” tab, and your server should appear. If not, you can use the “Connect to IP” option and enter
localhostor127.0.0.1. - Port Forward for Online Play – To let friends outside your network join, you need to forward ports on your router. Log into your router’s admin panel (usually via a web browser at an address like 192.168.1.1), find the “Port Forwarding” section, and create a rule that forwards both UDP and TCP port 26900 to your PC’s local IP address. If you changed the server port, forward that instead.
- Find Your Public IP – Visit a site like whatismyip.com to see your public IP. Share this with your friends, along with the port if not default. They’ll use “Connect to IP” and enter
your.public.ip:26900. - Keep the Server Running – For a persistent server, leave the console window open. You can minimize it, but don’t close it. If you want it to run even when you’re not at your PC, consider a dedicated machine or a VPS.
Common Mistakes
- Forgetting to run the server once before editing – If you edit serverconfig.xml before the first run, the file may be overwritten. Run first, then edit.
- Not forwarding UDP – 7 Days to Die uses both TCP and UDP. If you only forward TCP, players won’t connect.
- Wrong local IP in port forwarding – Your PC’s IP can change if you use DHCP. Set a static IP or reserve the IP in your router to avoid breaking the forward.
- Firewall blocking the server – Windows Firewall may block the server’s ports. When you first run the server, click “Allow access” when prompted. If not, add an inbound rule for TCP and UDP 26900.
- Changing the world name after starting – If you change GameName after the world is created, the server will generate a new world, losing progress. Decide on the name before first start.
Tips
- Set a password – Even if you want public access, a password prevents random griefers from joining.
- Adjust difficulty – In serverconfig.xml,
Difficulty(0-3) andZombieRun(0-3) let you tune the challenge. Test with your group. - Use the telnet console – You can manage the server remotely by connecting to the telnet port. Useful for issuing commands like
saveworldorkick. - Back up your world – The world files are in
\7 Days To Die Dedicated Server\Data\Worlds\<GameName>. Copy this folder periodically to prevent loss. - Consider a VPS – If you want 24/7 uptime without running your PC, rent a VPS with Windows Server and install the server there. This avoids port forwarding and power costs.
Troubleshooting
- Server won’t start – Check that the console shows no errors. Common causes: missing .NET Framework or Visual C++ redistributables. Install the latest from Microsoft’s website. Also ensure you have enough RAM.
- Friends can’t connect – First, verify you can connect locally. Then check port forwarding: use an online port checker to see if 26900 is open. Also confirm your firewall allows inbound connections.
- High latency/lag – Your upload speed may be insufficient. Reduce MaxPlayers, or move to a VPS with better bandwidth. Also ensure your PC isn’t running other heavy tasks.
- Server crashes on horde night – This is often due to memory. Increase RAM or reduce the number of zombies by adjusting
MaxSpawnedZombiesin serverconfig.xml. - World resets on restart – If you changed GameName after the first run, the server creates a new world. Revert to the original GameName to keep your world.
Frequently Asked Questions
Can I host a 7 Days to Die server for free?
Yes, if you have a PC that meets the requirements and a stable internet connection. The dedicated server tool is free on Steam.
Do I need a second copy of the game to host?
No, the server tool is separate and free. You only need one copy of the game to play on your own server.
Can I run the server on Linux?
Yes, you can use SteamCMD to download the server files on Linux, but the official tool is Windows-only. The Linux version is community-supported and may have issues.
How many players can I host?
It depends on your hardware and bandwidth. A typical home connection can handle 8-12 players. A VPS with 16 GB RAM can support more.
Can I mod my server?
Yes, you can add mods by placing them in the server’s Mods folder. Most mods are client-side, but server-side mods require all players to have them installed.
How do I update the server?
In Steam, right-click the dedicated server tool and select “Update”. This will download the latest version, but be aware that updates may change config files.