Skip to content
/SLASHPLAY

How to change the server name in CS2

Type hostname "My CS2 Server" in the server console to set the name in the server browser. Put it in server.cfg so it stays.

hostname

Sets the server name shown in the server browser and scoreboard.

hostname <name>

Examples

hostname "My CS2 Server | 128 tick"

Set a server name.

Arguments

nameRequired
Server name, in quotes.

What it does

Put it in server.cfg so it survives restarts. Use quotes if the name contains spaces.

The game's own description: Hostname for server.

Run it on your server

On a SLASHPLAY server, type it in the Console tab of the server page; the reply shows right under it. A value set there lasts until the server restarts. To keep it, add the line to game/csgo/cfg/server.cfg. New to this? Start a CS2 server first.

Your own
CS2 server.

From $0.03 an hour, only while it runs. New accounts get 6 free tokens.