TheMegaNight 14 Sep, 2018 @ 2:59pm
Help with hostname
How can i set the hostname of my server?
It's hosted on debian.... where i can see:

lgsm
serverfiles
steam
steamcmd

I want to change motd from LinuxGSM to Competitive CSGO (-insecure only)


To start the server i'm using this command "./srcds_run -game csgo -insecure"
(deleted some text srry)
i can paste ./srcds_run -game csgo -insecure -hostname CSGO TEST -descrition TEST?
Last edited by TheMegaNight; 14 Sep, 2018 @ 3:00pm
< >
Showing 1-4 of 4 comments
Sepp 15 Sep, 2018 @ 7:54am 
The hostname is typically set in the server.cfg.
If you put it in the startupline you'll probably need to put the name in quotation marks:
-hostname "CSGO TEST"
Although on the Valve Wiki it says that spaces won't work:
+hostname "Hostname" - Specifies the name of the server (Spaces between words won't work here!).
However spaces will work if you set the hostname in the server.cfg.
TheMegaNight 15 Sep, 2018 @ 9:24am 
Originally posted by Sepp:
The hostname is typically set in the server.cfg.
If you put it in the startupline you'll probably need to put the name in quotation marks:
-hostname "CSGO TEST"
Although on the Valve Wiki it says that spaces won't work:
+hostname "Hostname" - Specifies the name of the server (Spaces between words won't work here!).
However spaces will work if you set the hostname in the server.cfg.


Don't work :(
Sepp 15 Sep, 2018 @ 11:30am 
In the server.cfg you don't need - or +...it's just:
hostname "CSGO TEST"

If you still wann do it in the startupline then try a hostname without spaces.
TheMegaNight 15 Sep, 2018 @ 12:52pm 
on my server the cfg is modified..... i can't paste that :(
< >
Showing 1-4 of 4 comments
Per page: 1530 50