Free Call of Duty 4: Modern Warfare (CoD4x) server hosting
A free Call of Duty 4: Modern Warfare server running CoD4x that starts only after you upload the game files from your own purchased copy (version 1.7) over SFTP, because Torchlite does not supply any game files.
Updated
At a glance
- You need
- The game files from your own Call of Duty 4 (1.7), uploaded over SFTP
- Server
- CoD4x, an open-source server for Call of Duty 4
- RAM
- 1.5 GB (Lite) or 3 GB (Turbo)
- Renew every
- 50 or 40 minutes, by plan
- Location
- Bucharest, Romania
- Price
- Free, funded by our sponsor TorchByte and advertising in the panel

Bring your own game files. This server only starts after you upload the game files from your own purchased copy of Call of Duty 4: Modern Warfare, version 1.7, over SFTP. Torchlite does not supply, sell or license any game files. Uploading files you have no right to use is forbidden, as our Terms say. Torchlite is not affiliated with Activision.
What we install is the server program: CoD4x 21.3, the community server for Call of Duty 4, from its official project, plus three small CoD4x files it needs. Everything that comes from the game itself, you upload.
Plans
| Plan | RAM | CPU | Disk | Renew every |
| Lite | 1.5 GB | 1.25 cores | 15 GB | 50 minutes |
| Turbo | 3 GB | 1.5 cores | 20 GB | 40 minutes |
Both are free: Torchlite is funded by our sponsor TorchByte and by advertising in the panel. Before each start or renew, the panel shows a short sponsor break. The renewal guide explains the Renew timer. The game files the server needs come to a few GB, so they fit on Lite. We have not measured the exact size, because we have no copy of the game.
Before you start
- Your own copy of Call of Duty 4, version 1.7. The Steam version is 1.7.
- An SFTP program. The panel's file manager has a limit per file and the game's
.iwdfiles are bigger, so SFTP is the practical way. The SFTP guide explains it. - The address shown in the panel, for example
cod4.torchlite.host:24100. The port is assigned by Torchlite and cannot be changed.
How to start
- On Create your server, choose a plan, then Call of Duty 4: Modern Warfare (CoD4x).
- Confirm your email with the code we send. The server is built: it installs CoD4x and then stops, because the game files are missing.
- Log in at game.torchlite.host with the same email and password and open the Console. A message in English and Romanian lists the missing files.
- Open Settings > SFTP details and connect with your SFTP program. From your game folder, upload every
.iwdfile inmainintomain/, and the multiplayer.fffiles inzone/englishintozone/english/. You can skip the single-player level files. - Press Start. If something is still missing, the console lists it again.
- In the game, open the console with
~and type/connectfollowed by the address from the panel.
Do not delete cod4x18_dedrun, main/xbase_00.iwd, main/jcod4x_00.iwd or zone/cod4x_patchv2.ff. They are the CoD4x files. A Reinstall puts them back and never deletes what you uploaded.
Settings, admin and mods
The Startup page holds Server Name (colour codes such as ^1 work), Max Players (default 18), Rcon Password (empty means rcon is off), CoD4x Master Token and Mod folder. They are applied after main/server.cfg, so they win over the same lines in that file. Everything else is in server.cfg: our default plays Team Deathmatch (g_gametype war) on a rotation of the stock maps, set in sv_mapRotation.
The panel Console takes server commands directly, such as map_rotate, map mp_backlot, kick <name> or say hello. We could only try commands that work without a map. In the game, use /rcon login <password> and then /rcon <command>.
Without a token the server works and players join by address, but it is not on the CoD4x master list. To be listed, get a token from the CoD4x token page (it asks you to log in with Steam), paste it into CoD4x Master Token and restart.
Mods go in mods/<name>/ with their mod.ff, extra .iwd files and server.cfg; then set Mod folder to mods/<name>. Custom maps go in usermaps/<map>/. Plugins (.so) go in plugins/ and load with loadplugin <name> in server.cfg. The first time a player joins, the server offers them the CoD4x client update (Windows only). Steam features of CoD4x are off on Torchlite: the server runs without Valve's Steam files.
Our tests
We could not test a real match: we have no game files and must not get them. On our test server the install worked and every downloaded file matched its checksum. With nothing uploaded, the server printed the missing-files message and stopped. Run without game data, CoD4x opened its port, checked for updates, loaded its own files, reached the CoD4x master servers and read the map rotation from server.cfg, then stopped because the game data was missing. A server name with spaces and colour codes arrived intact, console commands were accepted, and quit stopped the server in about a second.
Not tested: a loaded map, players, the server answering queries, and memory use with a map. Reports from 2007 about the original CoD4 Linux server give 150 to 175 MB of RAM with a map loaded, well within Lite.
Common problems
The console lists missing files and the server stops. Upload what it names to the folder it names, then press Start. Without the files, the server tries once more by itself and then stays off.
Could not find zone ... .ff. The zone files are missing or in the wrong folder. They belong in zone/english/.
sv_mapRotation is empty. main/server.cfg is missing or has no rotation.
fs_homepath is write protected or Steam is not going to work in the log. Both are expected on Torchlite.
The server is not on the master list. Add a CoD4x Master Token. Without one, join with /connect and the address.
It stopped on its own. The renewal timer ran out. Press Start. Your files are kept.
Guides for Call of Duty 4: Modern Warfare (CoD4x)
All guides →
Call of Duty 4 (CoD4x) and Call of Duty 2 servers: bring your own game files
Call of Duty 4: Modern Warfare (CoD4x)8 minUpdated
Create your first free server on Torchlite
Every game8 minUpdated
How server renewal works on Torchlite
Every game7 minUpdated
A tour of the Torchlite panel: what every page does
Every game9 minUpdated
Connect to your server with SFTP (FileZilla and WinSCP)
Every game5 minUpdated
Backups on Torchlite: make, restore and keep your own copy
Every game7 minUpdated