Call of Duty 2
Call of Duty 2 (2005) is one of the most popular titles for competitive and casual dedicated server hosting. Built on the IW 2.0 engine, it supports a thriving community of players. On uHost, servers run CoD2x by default for a better hosting experience.
Guides
- Connecting — How to join your server from the game client.
- Server Config — Full
server.cfgreference with every common setting. - RCON Commands — Remote console commands for live server administration.
- Mods — Installing and managing mods.
Quick Reference
| Property | Value |
|---|---|
| Default Port | 28960 (UDP + TCP) |
| Engine | IW 2.0 (id Tech 3 derivative) |
| Server Binary | CoD2x v1.4 |
| Max Players | 64 |
| Config File | main/server.cfg |
| Mod Format | .iwd archives in mods/ |
| Game Types | DM, TDM, S&D, CTF, HQ |
Getting Started
- Create a new CoD2 server from the uHost dashboard.
- Choose a region, set your server name, RCON password, and player limit.
- Optionally select a mod. zPAM variants are available out of the box.
- Start the server. Your connection string will appear on the dashboard.
- Open CoD2, press ~ to open the console, and type:
/connect <address>:<port>
See the Connecting guide for detailed instructions.
CoD2x
All uHost CoD2 servers default to CoD2x v1.4, a community-maintained server enhancement that improves on the stock v1.3 server. CoD2x is the standard for modern CoD2 hosting and provides:
- Bug fixes — Patches for several issues present in the original server binary.
- Security improvements — Better player identification and anti-cheat measures.
- Improved stability — More reliable performance under load.
TIP
CoD2x requires RCON passwords to be at least 8 characters long and alphanumeric only.
Players on stock patch 1.3 can connect to CoD2x servers without any issues.
Game Types
| Code | Mode | Description |
|---|---|---|
dm | Deathmatch | Every player for themselves. First to the score limit wins. |
tdm | Team Deathmatch | Two teams score kills. First team to the score limit wins. |
sd | Search & Destroy | Round-based, one life per round. Attackers plant a bomb; defenders stop them. |
ctf | Capture the Flag | Steal the enemy flag and return it to your base while protecting your own. |
hq | Headquarters | Capture and hold a radio to score points. The holding team cannot respawn. |
Set the game type in server.cfg:
set g_gametype "tdm"You can mix game types in a single map rotation:
set sv_mapRotation "gametype tdm map mp_toujane gametype sd map mp_carentan gametype ctf map mp_dawnville"Maps
| Map | Internal Name |
|---|---|
| Beltot | mp_beltot |
| Brecourt | mp_brecourt |
| Burgundy | mp_burgundy |
| Caen | mp_caen |
| Carentan | mp_carentan |
| Dawnville | mp_dawnville |
| Decoy | mp_decoy |
| Downtown | mp_downtown |
| El Alamein | mp_farmhouse |
| Leningrad | mp_leningrad |
| Matmata | mp_matmata |
| Moscow | mp_moscow |
| Rostov | mp_rostov |
| St. Mere Eglise | mp_stmereeglise |
| Stalingrad | mp_stalingrad |
| Toujane | mp_toujane |
| Wallendar | mp_wallendar |
TIP
Some internal names don't match their display names. For example, El Alamein is mp_farmhouse.
Troubleshooting
Players Can't Download Mods
If players get stuck downloading or fail to receive files:
- Confirm
sv_allowDownloadis"1"in yourserver.cfg. - Check that all mod files are in the correct directory (
mods/<modname>/). - FastDL is auto-configured on uHost. If you've overridden
sv_wwwBaseURL, verify the URL is reachable and the directory structure mirrors your server's file layout.
"Server is Not Responding" / Connection Timeout
- Verify the server is running on the dashboard.
- Check that you're using the correct IP and port.
- Ensure no firewall is blocking UDP traffic on port 28960.
Players Can't Connect
- Verify the server is running on the dashboard.
- Ensure the player is on patch 1.3 (compatible with CoD2x servers).
- If the server runs a mod, confirm
sv_allowDownload "1"is set so players can receive mod files. - Check if a game password is set with
g_password. The player needs to enter it before connecting.
