How to set up a cod4 dedicated server

Written by mark anderson
  • Share
  • Tweet
  • Share
  • Pin
  • Email
How to set up a cod4 dedicated server
Create a dedicated server for COD4. (teenager image by Svetlana Kashkina from

Dedicated Gaming Servers, an increasingly popular commodity among video game enthusiasts, provide a way for players to control the environment in which they wish to play online games with their peers. Many games today have online features, allowing for players to play with others head-to-head. A notable video game series is EA Games' Call of Duty franchise, a first-person shooter game that has gained popularity with each new release. This guide will walk through steps to set up a dedicated windows server for Call of Duty 4.

Skill level:

Things you need

  • Remote dedicated server with Windows Server 2003 O/S
  • Call of Duty 4
  • Windows desktop computer
  • Server FTP program
  • Microsoft notepad

Show MoreHide


  1. 1

    Install Call of Duty 4 on your desktop computer. Select the default installation settings for the install, wait for the process, and click "Finish."

  2. 2

    Browse to the installation location, (typically C:\Program Files\Activision\Call of Duty 4) and transfer the entire Call of Duty 4 folder onto your dedicated server. Use a server FTP program to transfer these files.

  3. 3

    Create a shortcut of the file iw3mp.exe, located inside your Call of Duty 4 folder. Do this by right-clicking the file and selecting "Create Shortcut." Place the new shortcut on the Desktop of the dedicated server.

  4. 4

    Right click on the new shortcut and select "Properties." Click on the "Target" field in the "Properties" dialogue box. In this field, add the following information to the end of the field:

    +set dedicated 2 +set sv_punkbuster 1 +exec dedserver.cfg +map_rotate

    Select "OK" to close the shortcut properties.

  5. 5

    Create the server configuration file. Open Microsoft Notepad and save a new file as "dedserver.cfg." In the file, input the following information:

    seta sv_punkbuster 1



    // Server name

    set sv_hostname "My CoD4 Server" // (Change this to whatever you want your server to be named in the server browser)

    // Server password

    set g_password "" // (Blank means NO password)

    // Rconpassword

    set rcon_password "change_me" // (Change this to your rcon password)

    // Maximum Clients

    set sv_maxclients "32"

    set sv_privateclients "6"

    // Max Ping

    set sv_maxping "225"

    // Rate

    set sv_maxRate "25000"

    // Map_rotation

    set sv_mapRotation "gametype war map mp_backlot gametype war map mp_bloc gametype war map mp_bog gametype war map mp_cargoship gametype war map mp_citystreets gametype war map mp_convoy gametype war map mp_countdown gametype war map mp_crash gametype war map mp_crossfire gametype war map mp_farm gametype war map mp_overgrown gametype war map mp_pipeline gametype war map mp_showdown gametype war map mp_strike gametype war map mp_vacant"

    set sv_maprotationcurrent ""

    Save the changes to the file, and place it inside the Call of Duty 4\main\ folder on your dedicated server.

  6. 6

    Download Punkbuster files for your server. Get these files from the official website at From the website, download the pbsetup.exe file and place the file on your dedicated server in its own folder.

  7. 7

    Run the Punkbuster set-up file, pbsetup.exe and select "Add a Game." Under the type, choose "Call of Duty 4 Server." The set-up will then ask you to browse for your iw3mp.exe file. Select the location in your Call of Duty 4 folder and hit "OK."

Don't Miss

  • All types
  • Articles
  • Slideshows
  • Videos
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the site, you consent to the use of cookies. For more information, please see our Cookie policy.