You could have posted your questions in 1 thread.
Just start a server from the menu. Choose Internet. You need to forward a few ports(google them). Idk exactly, but by default it is atleast 28960.
You need to forward the ports in your router & your firewall.
+ There are enough tutorials in the ********* on how to make a cod4 server.
I'll release a little tool for you.