Setting up a Left 4 Dead 2 server

Updated 4 Nov 2026

Join your server

The first start downloads Left 4 Dead 2 from Steam, so it takes a few minutes. Watch the Console tab. When it stops scrolling, your server is ready.

Turn on the developer console in the game options, press ~, and type:

Console
connect your.server.address:port

Pick the map

Default Map on the Startup tab sets the first map, like c1m1_hotel.

Use it from a lobby

Make a lobby, open the console, and type:

Console
mm_dedicated_force_servers your.server.address:port

Server name and password

Create left4dead2/cfg/server.cfg and add:

server.cfg
hostname "My L4D2 Server"
sv_allow_lobby_connect_only 0

Problems

My lobby goes to a random server

Run mm_dedicated_force_servers before starting.

Players cannot connect directly

Set sv_allow_lobby_connect_only 0.

A custom campaign does not load

Every player needs the same files.

Still stuck? Open a ticket and we will take a look.
Open a ticket

More guides