
Host a 7 Days to Die Dedicated Server
7 Days to Die is an open-world game that is a unique combination of first-person shooter, survival horror, tower defense, and role-playing games. Play the definitive zombie survival sandbox RPG that came first. Navezgane awaits!
Hardware Requirements
Here's what you need to run a 7 Days to Die dedicated server.
Economy
Small private server, 1-4 players
Standard
Co-op server, 4-12 players
Pro
Large public server with mods, 12-32 players
Start hosting from your own computer
Run a 7 Days to Die server on your desktop, laptop, VPS, or dedicated machine — GameCP automates Docker setup, resource allocation, and 7 Days to Die configuration instantly. Automatic port forwarding means your friends can connect without touching your router. Start local, scale to a VPS when you're ready.
Setup in 4 Steps
Skip the manual SteamCMD installation, port forwarding, and systemd configuration. Install on your own computer and start hosting instantly.
The Manual Way vs. GameCP
Manual Setup
- ✗Install SteamCMD manually
- ✗Configure 2+ firewall ports and router settings
- ✗Write systemd service files
- ✗SSH into server to edit configs
- ✗Requires a VPS or dedicated server
- ✗30-60 minutes if experienced
With GameCP
- One-click SteamCMD install
- Automatic port forwarding — no router config
- Host from your own PC, VPS, or dedicated server
- Docker container with auto-restart
- Visual config editor in browser
- Under 5 minutes total
Under the Hood
The full manual process to host a 7 Days to Die dedicated server on a VPS. Or install GameCP on your own computer and skip all of this.
Configure & Prepare
Set your server settings, then install Docker, SteamCMD, and pull the 7 Days to Die container image.
# Update system and install Docker sudo apt update && sudo apt install -y docker.io sudo systemctl enable --now docker # Create game server directory sudo mkdir -p /opt/gameserver # Install SteamCMD sudo mkdir -p /opt/steamcmd curl -sqL "https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz" | sudo tar zxvf - -C /opt/steamcmd # Server configuration export SERVER_VISIBILITY="2" export GAME_DIFFICULTY="2" export DAY_NIGHT_LENGTH="60" export ZOMBIES_RUN="0" export BLOOD_MOON_FREQUENCY="7" export XP_MULTIPLIER="100" export LOOT_ABUNDANCE="100" export LAND_CLAIM_SIZE="41" export AUTO_UPDATE="1" # Pull the container image docker pull ghcr.io/ptero-eggs/steamcmd:debian
Install Server Files via SteamCMD
Download the 7 Days to Die dedicated server using Steam App ID 294420.
# Download 7 Days to Die server files (App ID: 294420) /opt/steamcmd/steamcmd.sh \ +force_install_dir /opt/gameserver \ +login anonymous \ +app_update 294420 validate \ +quit
Open Firewall Ports
7 Days to Die requires 2 ports to be open for game traffic and queries.
sudo ufw allow 26900/both sudo ufw allow 8081/tcp
Launch the Server
Start the 7 Days to Die server using the configuration from Step 1.
Create the startup script
# Create the startup script cat > /opt/gameserver/start.sh << 'EOF' #!/bin/bash # Build startup arguments ARGS=(-configfile=serverconfig.xml -quit -batchmode -nographics -dedicated) ARGS+=(-ServerPort=26900) ARGS+=(-ServerMaxPlayerCount=) ARGS+=(-GameDifficulty=2) ARGS+=(-ControlPanelEnabled=false) ARGS+=(-TelnetEnabled=true) ARGS+=(-TelnetPort=) ARGS+=(-TelnetPassword=) ARGS+=(-logfile logs/latest.log) # Optional fields - only include if value is non-empty [ -n "" ] && ARGS+=(-ServerDisabledNetworkProtocols=) # Start server in background ./7DaysToDieServer.x86_64 "[@]}" & # Wait for telnet to become available echo "Checking on telnet connection" until nc -z -v -w5 127.0.0.1 ; do echo "Waiting for telnet connection..."; sleep 5; done # Connect via telnet or rcon depending on password if [ -z "" ]; then telnet -E 127.0.0.1 else rcon -t telnet -a 127.0.0.1: -p fi EOF chmod +x /opt/gameserver/start.sh
Run the container
docker run -d \ --name 7-days-to-die-server \ -p 26900:26900/both \ -p 8081:8081/tcp \ -e SERVER_VISIBILITY="2" \ -e GAME_DIFFICULTY="2" \ -e DAY_NIGHT_LENGTH="60" \ -e ZOMBIES_RUN="0" \ -e BLOOD_MOON_FREQUENCY="7" \ -e XP_MULTIPLIER="100" \ -e LOOT_ABUNDANCE="100" \ -e LAND_CLAIM_SIZE="41" \ -e AUTO_UPDATE="1" \ -v /opt/gameserver:/opt/gameserver \ -w /opt/gameserver \ ghcr.io/ptero-eggs/steamcmd:debian \ ./start.sh
Or skip all of this
GameCP automates every step above: Docker, SteamCMD, port forwarding, startup, and config. Install on your own PC and deploy a 7 Days to Die server in under 5 minutes.
Deploy with GameCPMore Hosting Guides
Explore step-by-step setup guides for other popular games supported by GameCP.
Ready to Host Your 7 Days to Die Server?
Install GameCP on your own computer and start hosting in minutes. Automatic port forwarding, zero config — your friends connect instantly.
No credit card required · Free tier available · Install local, scale later