How to Set the Server Name, Password and Start Map on Your Left 4 Dead 2 Server

Left 4 Dead 22 min readUpdated Nov 24, 2026

The panel sets the start map of your Left 4 Dead 2 server. The server name and the password live in a config file called server.cfg. A new server does not have this file yet, so you create it in the file manager. This guide covers both.

Choose the Start Map

  • Log in to your game panel and click your Left 4 Dead 2 server.
  • Open Game Settings in the left menu, under GAME SERVER.
  • In the Server section, pick a campaign under Start Map, for example Dead Center or No Mercy.
  • The panel saves the field by itself. A yellow bar at the top says Settings saved. Restart the server to apply your changes.

Open the cfg Folder

  • Open Files in the left menu.
  • Open the left4dead2 folder, then the cfg folder. There is no server.cfg in it yet.
  • Press New file at the top right. An empty editor opens.

Write and Save server.cfg

Type these lines in the empty editor. Each line is one setting:

hostname "My Left 4 Dead 2 Server"
sv_password "mysecretpassword"
sv_allow_lobby_connect_only 0
  • hostname is the name in the server list.
  • sv_password is the password players need. Leave the line out for a server anyone can join.
  • sv_allow_lobby_connect_only 0 lets players join directly with connect instead of only through a lobby.
  • Press Create file at the top right, type server.cfg as the File Name and press Create file again.
  • Later changes: click server.cfg in the cfg folder, edit it and press Save.

Restart the Server

  • Open Console in the left menu.
  • Press Restart.
  • Wait until the status next to the server name reads RUNNING.

Changes on Game Settings and in server.cfg only apply after a restart.

Good to Know

  • Keep the password simple. Use letters and numbers and put it between quotes as shown above.
  • The Start Map only sets the first map. To move to another campaign while the server runs, see how to change the campaign and game mode.
  • Custom campaigns. The Start Map list also has Other..., where you type the first map name of a campaign you installed.
  • Auto Update. Game Settings also has an Auto Update switch in the Updates section. When it is on, the server installs the newest game update every time it starts.

Finished

Your server has a name, a password and a start map. Next, change the campaign and game mode.

Did this solve your problem?

Still stuck?

Our support team actually knows the games we host. Open a ticket and we will figure it out together.

Open a ticket