> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.sparkedhost.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to Change Name of Garry's Mod Server

${youtube}[](AlmiiACEafk)
This article will go over how to edit the name of a GMod server displayed in the server browser.

Here's an example of what it looks like:
![Example](https://images.surferseo.art/6bac341a-e92b-43f0-8e6f-eec2952ef693.png)he name of your GMod server is changed by changing the `hostname` parameter in `server.cfg`.
---

## Changing the Name On A Garry's Mod Server

To change the name of a GMod server:

1. Log into your server hosting environment and select the desired server.
    
2. Stop the server.
    
3. Go to the file manager.
    
4. Navigate to the config file at `/home/container/garrysmod/cfg/server.cfg`. If `server.cfg` is not there, create it.
    
5. Open the file in the text editor to modify it.
    
6. In a new line, add `hostname "new name"` (Where `new name` is the desired server name that you want to add). The name needs to be in quotation marks or it won't work.
    
7. Save content after editing.
    
8. Restart the server so the config file can take effect.

You can also change this value in the Startup menu if you wish. 
---
    
## Common Mistakes to Avoid

* Not saving the file after it's modified.
    
* Not putting the hostname in quotes.
    
* Not restarting the Garry's Mod server.
---

## Still have some questions?
Head over to [https://sparkedhost.com/contact](https://sparkedhost.com/contact) to chat with support. Create a new ticket, we'll get back to you as soon as possible.
By: Julian T.