Skip to content

Set Up a Contagion Server on Your VPS

Learn how to install a Contagion server with the Game Server Installer on your VPS, choose a map and game mode, and connect → Find out more

12 November 20264 min read10 Views0 helpful

Don't have your own server yet? Host your Contagion server with ZAP-Hosting.

Introduction

You can host a Contagion server with ZapX on your own VPS. You have full control over the system, and the Game Server Installer sets up the server in just a few minutes without needing a Remote Desktop connection. This guide explains what you need, how installation works, and how to manage your Contagion server afterward.

Requirements

RequirementContagion
Operating systemWindows Server 2019 or later
MemoryAt least 2 GB
Free disk spaceAt least 26 GB on drive C:
Info

Contagion is only available for Windows in the Game Server Installer. If your VPS runs Linux, install a Windows Server template under Settings > Reinstallation. This deletes all data on your VPS. Learn more in Server Reinstallation.

Install Contagion

  1. Open your VPS in the ZapX dashboard and go to the Tools tab. Select the Game Server Installer.
  2. Under Your server's operating system, select the Windows tile.
  3. Under Choose game, search for Contagion and select it.
  4. Under Set up server, choose the server name, starting map, and player slots. You can find the game port under Advanced settings.
  5. Click Install on this VPS, then click Start installation.

The installer downloads the Contagion server through SteamCMD, sets it up, and starts it. For details on the installation process, see the Game Server Installer guide.

Important

In Contagion, the map determines the game mode: the prefix in the map name indicates the mode, for example, ce_ for Escape or cx_ for Extraction. The game supports a maximum of 16 players and automatically limits higher values to 16.

PrefixGame mode
ce_Escape
cx_Extraction
cf_Flatline
ch_Hunted
chm_Horde
cp_Panic

You can also install Contagion yourself using a command: copy the command shown in the final step, connect via Remote Desktop, and run it in Windows PowerShell as an administrator. If you want to set a join password or a Steam login token (GSLT), use this method—the script will prompt you for them privately.

After installation

When installation is complete, the installer displays your server address under How to connect. Any passwords generated by the installer are shown once under Login credentials. This includes the RCON password, which the installer generates automatically.

Your server files are located on the VPS at C:\ZapX-GameServers\contagion\:

Folder/fileContents
server\Contagion server files
server\contagion\cfg\server.cfgServer settings
server\contagion\mapcycle.txtMap rotation
logs\supervisor.logRestarts after crashes

Connect to the server

To connect, you need your VPS IP address, which you can find under Overview in the ZapX dashboard, and the game port, which is 27015 by default. Open the in-game console and enter:

Code
connect IP:Port

If you set a join password, enter password <Password> in the console first.

Start, stop, and restart the server

Your Contagion server starts automatically when the VPS boots and restarts after a crash. To manage it, connect via Remote Desktop and use the desktop shortcuts:

  • Contagion (contagion) - Start
  • Contagion (contagion) - Stop
  • Contagion (contagion) - Restart

Configuration

Contagion settings are stored in server\contagion\cfg\server.cfg, and the map rotation is in server\contagion\mapcycle.txt. Stop the server with Contagion (contagion) - Stop before editing these files, then start it again afterward. The installer rewrites the server name and RCON password to server.cfg each time it runs.

The Stop shortcut shuts down the server cleanly using the RCON command quit. This takes about 4 seconds.

Info

Contagion does not write output to the installer's log file. To check whether your server is running, use the RCON command status or check the server list.

Update the server

Updates are not installed automatically. To update, open the Game Server Installer again and select Contagion. The installer detects the existing installation and displays Update. Alternatively, use the Contagion (contagion) - Update shortcut on the VPS. As a precaution, back up your changes to server.cfg first using the backup shortcut.

Ports and firewall

PortProtocolUse
27015TCP and UDPGame, query, and RCON (TCP)

The installer opens this port in the Windows firewall. If you start the installation from the dashboard, it also opens the port in your VPS's network firewall. If you installed using a command, check the port there yourself.

Backups

Use the Contagion (contagion) - Backup shortcut to save server.cfg, the ban lists, and the map rotation as a ZIP file in C:\ZapX-GameServers\_backups\contagion\. Use Contagion (contagion) - Restore to restore a backup.

Your entire VPS is also backed up automatically every day. With an active ZapX Pass, you can restore these backups yourself and create your own. Learn more in Daily Backups, Restoring, and Restricted Actions.

Conclusion

Your Contagion server is now running on your VPS. Choose the game mode and map using the prefix in the map name. If you have questions or need help, our support team is here for you every day! 🙂

FAQ

Frequently asked questions

Open your VPS in the ZapX dashboard, go to the Tools tab, and select the Game Server Installer. Choose Windows and Contagion, set your map and player slots, then click Install on this VPS.
The map prefix determines the game mode: ce_ for Escape, cx_ for Extraction, cf_ for Flatline, ch_ for Hunted, chm_ for Horde, and cp_ for Panic.
A maximum of 16 players. The game automatically limits higher values to 16.

Feedback

Was this article helpful?

Your feedback helps us prioritize and improve content.

0 of 0 people found this article helpful.

Personal support

Need more help than the guide provides?

Our ZAP support team knows your product — briefly describe your issue and we'll help you personally.

Zappy knows this guide and answers you right in the chat.