# How to Change Your CS:GO Server Name (/docs/counter-strike-go/rename-server)



import { Step, Steps } from 'fumadocs-ui/components/steps';
import { Tab, Tabs } from 'fumadocs-ui/components/tabs';

The hostname is what players see when browsing for your server.

<Tabs items={['Via Startup Tab', 'Via server.cfg']}>
  <Tab value="Via Startup Tab">
    <Steps>
      <Step>
        Open Startup settings [#open-startup-settings]

        In the [XGamingServer Panel](https://panel.xgamingserver.com), click **Startup** in the sidebar.
      </Step>

      <Step>
        Change the hostname [#change-the-hostname]

        Find the **Server Name** or **Hostname** variable and type your new name.

        {/* Screenshot needed: Startup tab showing hostname field */}
      </Step>

      <Step>
        Restart [#restart]

        Go to **Console** and restart your server.
      </Step>
    </Steps>
  </Tab>

  <Tab value="Via server.cfg">
    In **Files**, navigate to `csgo/cfg/server.cfg` and add or edit:

    ```
    hostname "My CS:GO Server"
    ```

    Save and restart.
  </Tab>
</Tabs>

> 💡 **Tip:** The hostname supports basic color codes using HTML-style tags in some Source engine builds, but CS:GO/CS2 largely ignores them in the browser.

Related Guides [#related-guides]

* [Server Configuration](/docs/counter-strike-go/server-config)
