# How to Make Your 7 Days to Die Server Public or Private (/docs/7-days-to-die/server-visibility)



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

Change Server Visibility [#change-server-visibility]

<Steps>
  <Step>
    Stop the server [#stop-the-server]

    In the [XGamingServer Panel](https://panel.xgamingserver.com), go to **Console** and stop the server.
  </Step>

  <Step>
    Edit serverconfig.xml [#edit-serverconfigxml]

    Click **Files** in the sidebar and open `serverconfig.xml`. Set:

    ```xml
    <property name="ServerVisibility" value="2" />
    ```
  </Step>

  <Step>
    Save and start [#save-and-start]

    Click **Save Content** and start from **Console**.
  </Step>
</Steps>

Visibility Options [#visibility-options]

| Value | Mode         | Description                                              |
| ----- | ------------ | -------------------------------------------------------- |
| `0`   | Not listed   | Server won't appear in any browser — direct connect only |
| `1`   | Friends only | Visible to Steam friends of connected players            |
| `2`   | Public       | Listed in the server browser (**default**)               |

Server Not Appearing in Browser? [#server-not-appearing-in-browser]

If set to `2` (public) but still not visible:

* Wait a few minutes after starting — it takes time to register
* Verify the game port and query port are open (see [Ports](/docs/7-days-to-die/ports))
* Check that `ServerName` is set in `serverconfig.xml`

> For LAN tab visibility, `ServerPort` must be in range 26900–26905 or 27015–27020.

Related Guides [#related-guides]

* [How to Join](/docs/7-days-to-die/join-server)
* [Ports](/docs/7-days-to-die/ports)
* [Server Configuration](/docs/7-days-to-die/server-config)
