0%
Loading...
NolimitHost

How to Change the Server Name on Your Left 4 Dead 2 Server

Last updated: September 18, 2026

Your server name is shown in the server browser and in lobbies. It is set with the hostname setting in server.cfg.

Step 1: Open server.cfg

Left 4 Dead 2 does not create a config file for you, so if one does not exist yet, you create it yourself.

  1. Log in to the NolimitHost Game Panel and select your L4D2 server.
  2. Stop the server from the Console page.
  3. In the left sidebar, click Files and open left4dead2/cfg/.
  4. Create or edit server.cfg.

Step 2: Set the Name

hostname "My L4D2 Server"

Keep the quotation marks around the name so spaces are handled correctly.

Step 3: Start the Server

Start the server from the Console page. The new name appears in the browser.

Option: Change It Live

You can also change the name without a restart by typing this into the panel's Console page:

hostname "My New Server Name"

This change is temporary - it is lost on the next map change unless you also update server.cfg.

Tip: If the name does not appear publicly, your server is likely missing a GSLT. Add sv_setsteamaccount "YOUR_TOKEN" (created with App ID 550) to server.cfg.
Note: server.cfg runs on every map change, so it is the right place for identity and gameplay settings. Settings that should apply only once at startup belong in autoexec.cfg.