How to change the name of a TF2 server
Type hostname "My TF2 Server | 24/7 2Fort" in the server console, or put it in server.cfg, to set the name shown in the server browser.
hostname
Sets the server name shown in the server browser and scoreboard.
hostname <name> Examples
hostname "My TF2 Server | 24/7 2Fort" Set a descriptive name.
Arguments
nameRequired- Server name. Use quotes if it has spaces.
What it does
This is the name players see when browsing for servers. Put it in server.cfg so it is set on every start.
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 tf/cfg/server.cfg. New to this? Start a TF2 server first.
Your own
TF2 server.
From $0.03 an hour, only while it runs. New accounts get 6 free tokens.