hostname Command

Explore usage, syntax, and examples for the hostname CS2 developer console command.

hostname

CS2 and CSGO

Command

hostname

<Hostname><hostname mycsgoserver.com>

Set the server's hostname, which is the name displayed to players and represents your server's domain.

<Hostname>

Enter the desired name for your server.

<hostname mycsgoserver.com>

Set your server's hostname to 'mycsgoserver.com'.

sv_cheats Required

No

Client or Server Command

Client

Server

hostname Generator

Command

hostname

<Hostname><hostname mycsgoserver.com>
0/2 Arguments Selected

Set the options below to auto-generate your command. When everything looks good, click the Copy button and paste it into your in-game console.