CS2 & CS:GO hostname Command

CS:GO & CS2 Compatible
hostname <Hostname> <hostname mycsgoserver.com>

The hostname for the server to use (this is your server domain).

Argument Information

The syntax for this command is as follows:
Name Description
Hostname

Your desired server hostname.

hostname mycsgoserver.com

This command would set your server's hostname to mycsgoserver.com.

Extra Information

Find additional information relating to this command below.
sv_cheats Required
No
Client or Server Command
Both
Default Value
Total CS is the home of CS2 commands We boast the only complete, up-to-date database of all CS2 console commands. View All CS2 Commands
CS2 player
Ad

Command Generator

Adjust the settings below to automatically generate a command. Once you've got everything right, hit the Copy button and paste it into the console in CS:GO.

hostname <Hostname> <hostname mycsgoserver.com>
0/2 arguments filled
Hostname
hostname mycsgoserver.com