cod4serveruses CoD4x project for its server, rather than the original, as it fixes various bugs and adds a few features over the vanilla server.
server.cfgor command-line parameters.
fs_gamevariable must be set correctly. Mods reside in the
fs_homepath. Example directory tree:
usermapsdirectory (if missing simply create it yourself).
mods/myemptymodand you will be able to run custom maps.
sv_wwwBaseURLhas to point to a URL served by your web server.