People seem to ask this question allot lately so I decided to help them.

In order to get your server going you need to make a config. For your convenience here is one setup up for you: Dedicated.CFG
Download that cfg (right click save as) and open it with notepad or wordpad and then just change the server name along with rcon and save. Once you’ve done that place the dedicated.cfg file in your call of duty 4 main folder.
Default is C:\Program Files\Activision\Call of Duty 4 - Modern Warfare\main.
Now that you have your cfg edited and placed in the right directory you need to make another shortcut for iw3mp.exe on your desktop and rename it to dedicated server or whatever you want really. This is so that you have two shortcuts to the ‘iw3mp.exe’, one for playing cod4 normally online and the other for your dedicated cod4 server. So now with your shortcut for your server you have to right click it and click properties.
Where it says “Target” you have to place this line: +set dedicated 2 +set sv_punkbuster 1 +exec dedicated.cfg +map_rotate after iw3mp.exe so it should look something like this:
“C:\Program Files\Activision\Call of Duty 4 - Modern Warfare\iw3mp.exe” +set dedicated 2 +set sv_punkbuster 1 +exec dedicated.cfg +map_rotate
Then click apply. Note, that if it doesn’t let you apply and gives you an error then you’re doing something wrong.
If you’ve done all that, you can simply click on your server shortcut and a cod4 console window will open. This is totally normal and means that your game is running in dedicated server mode.
If you want to learn more about call of duty 4 go to dead-x-clan.com
_creature_editor.jpg)

February 21, 2008 at 4:37 pm
Yeah I was wondering I done all of the above… And it still shows up in my Local Source… I even typed in Dedicated 2 and it says “Dedicated is read only” I want to host my own COD4 Game… I need some help.
February 22, 2008 at 2:07 pm
well, if you have already done this and it does not work, there must be a different problem, have you got a router are you in a network?if you are go to http://dead-x-clan.com/cod4-private-server-tutorial-create-your-own-server/
you will have all you’re answers here
March 15, 2008 at 8:48 am
First of all, thank you you helped me soo much,but i have ine problem. I do all of that and i was searcing all net and it looks like I did every single thing good, but I add my IP and port to xfire and it says the name of server and when I try to connect to it it says “key code in use, please try reconnecting ater” I thought that i am making private(cracked) server. Plese help me!
May 31, 2008 at 6:32 am
i can get the name bit show me wht i should look like on notepad
May 31, 2008 at 6:47 am
i have done it now never mind
June 24, 2008 at 5:43 am
I did everything, clicked the icon, and the console came up… now what?