How to host a Call of duty game.

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


26 Responses to “How to host a Call of duty game.”

  1. Shrapnel Says:

    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.

  2. reborn2603 Says:

    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
    you will have all you’re answers here

  3. akykontaky Says:

    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!

  4. {EP}DRAG Says:

    i can get the name bit show me wht i should look like on notepad

  5. {EP}DRAG Says:

    i have done it now never mind

  6. Anonymous Says:

    I did everything, clicked the icon, and the console came up… now what?

  7. Anonymous Says:


  8. Kushan Says:

    but my friend is hosting without this console tricks y? i cant do it easily? always thr was a cosole popup when i strat the how can i play with others?

  9. hi Says:

    hi i have done all the things above and

  10. hi Says:

    hi i have done all the things above and my server name still don’t show up, we share and internet connection throught a router(D LINK DIR-301) i know i need to forward my porst but don’t have a clue how to do that can anyone help me please>?

  11. Rapier Says:

    hay … too al of you who cant find the server.
    it is because this person is an idiot.

    the most important part about creating the server is being able to forward the ports!!!

    specifically ports:

    this can be done by your local router.
    if you have a linksys type in into your browser and go from there!

    if you are having more trouble go to this site.


  12. sima Says:

    hey, well ive already got probelms.. it wont allow me to download the file… it says theres an error?

  13. LOL Says:

    first of all, don’t call people an idiot of you can not even type correctly yourself. Secondly, the link you posted throws back a 404 “Error 404
    Not Found, Sorry, but you are looking for something that isn’t here.”
    for everyone else who cannot see that the author is not posting feedback for FAQ (Frequently Asked Questions) try searching for what the problem is on “server not showing up on list cod4” or “server config for cod4” or anything like that. This post was done for the sole purpose of generally showing you how to set up a dedicated server!

  14. wtf001 Says:

    how do u host a call of duty game??? for the 1st call of duty???

  15. ian Says:

    thanks dude for answer

  16. stfu Says:

    i can’t go to
    any link?

  17. Sgtpenguin Says:

    the CFG file brings u to some website

  18. steammaker Says:

    Hello! Here the fresh steam, free of charge: Enjoy!

  19. waterson Says:

    ok i hear you can be a host but how can you tell who is the host and will you tell me what should i do my becoming a host step by step plz

  20. manipulacion Says:

    Saludos desde Mexico Chiapaqs ! Estoy aburridisimo een el curro asi
    que he tomado la decisio de echar un vistazo a su website desde mi movil durante el receso.
    Me apasiona la informacion que prrsentas aqui y no soy capaz a
    llegar a mi apadtamento para ecnar una ojeada. Estoy sorprendido de lo deprisa que tuu Webblog carga
    en mi movil … No estoy utilizando WIFI, solo 3G ..
    De todas formas, alucinante blog!

  21. trucos juegos psp Says:

    Tampoco he conseguido resistirme a dar mi opinion. Excepcionalmente
    bien posteado

  22. trucos juegos wii Says:

    Me enloquece claramente los ideas que posteas aca, si bien es cierto que
    el diseño y estilo dell portal es algo poco atractivo.
    De todas maneras , Fantastico post.

  23. trucos juegos facebook Says:

     El asunto no resulta ser de hoy en dia y por consiguiente no
    resulta ser atrayente. Yo Pienso que un contenido tiene que ser más vigente e llamativo.

  24. es estupenda Says:

    Cuenta ese website una seccion de contacto?
    Tengo con muchos problemas ara encontrarla, quisiera mandarle mi correo electronico.
    Se me ocurren ciertas buenas ideas para su blkog que probablemente estes interesado en oir.

    De todas formas es un gran blog y lo visitare mas veces.

  25. gta v mapas Says:

    Estos recomendaciones que escribes me sonn extremadamente
    validos. Claramente a favoritos. Muchas gracias.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: