PingByte

How to host a Valheim server

A Valheim server is easy to start and easy to break by accident. Here is what it needs, how to set it up, how your friends join, and the one world-name trap to avoid.

What Valheim needs

Valheim is hungrier than it looks. It idles near 3 GB and likes two fast cores, so a PingByte Valheim server starts at 4 GB of RAM and 2 vCPU, and a world with many builds can use more. Players need Valheim on Steam, or on Game Pass if you turn crossplay on.

Set it up

  1. Open the store and choose Valheim.
  2. Pick a size, then name the world and set a join password. The password must be at least 5 characters, and it cannot appear inside the server name or the world name.
  3. Choose whether to turn on crossplay for Xbox and Game Pass players, and whether to list the server in Valheim's community browser.
  4. Review and pay. The server starts as soon as the payment clears.

Give the first start a few minutes. A new server downloads the game server files (about 2 GB) and then loads the world, and nobody can join until the console shows the world has loaded.

Join the server

  1. Copy the address and port from your server's Overview tab. It looks like play.pingbyte.net:PORT, and the port is different for every server.
  2. In Valheim choose Join Game, then Join by IP, and enter the address with the port and the password.

You do not need the server list to play. The community list is the least reliable way to find a server, so give your friends the address instead. A Valheim server uses three consecutive UDP ports, which is why its port is never a round number. PingByte handles that for you.

Crossplay

If some of your players are on Xbox or the Microsoft Store version, turn on crossplay in Settings. Those players connect with a join code shown in the server log, while Steam players can still join by IP. Without crossplay only the Steam version can join. Changing the setting restarts the server.

Your world, backups and moving a world in

Valheim finds your world by its name. A world is a pair of files, YourWorld.db and YourWorld.fwl, and the server loads the one that matches the world name in its settings. If the name does not match an existing save, Valheim creates a brand-new world with that name. Your old world is not deleted, it just is not the one loaded. Almost every "my world disappeared" report is a changed or mistyped name, so leave the world name alone unless you mean to switch.

Updates

Valheim updates often, and the client and server have to match. The server checks for updates on its own about every 15 minutes. If your players have just updated and cannot join, give it a few minutes, then restart the server from the Overview tab.

If something goes wrong

Valheim is a trademark of Iron Gate AB. PingByte is not affiliated with or endorsed by them.

Want a Valheim server without the setup?

See Valheim hosting