How to set up a Valheim dedicated server
Stop tying your world to one person's PC. Here is a server your whole crew can join anytime.
Valheim is one of the best group survival games on Steam, but the default way most people play it has a hidden tax: the world only exists while the host is online. If the host is asleep, at work, or just does not feel like gaming, nobody can play. A dedicated server fixes that permanently. The world lives on its own, everyone joins whenever they want, and progress no longer depends on one person's PC being awake.
This guide walks through standing one up, whether you host it on a spare machine at home or rent a cheap box.
Why bother with a dedicated server
Peer-to-peer hosting is fine for a quick session, but it comes with real limits:
- The world is only playable when the specific host is in-game.
- The host's connection carries everyone, so their lag is your lag.
- If the host's save corrupts or they lose interest, the world can vanish.
A dedicated server solves all three. It runs the world as a standalone process, so any of your up-to-ten players can hop in at 2 AM without waiting on anyone. For a group that treats Valheim as a weeks-long campaign, this is the single biggest quality-of-life upgrade available.
What you need
Two viable paths, depending on your group:
- Self-host at home. Free if you have a spare PC or can leave your main machine running. Requires editing a config file and forwarding a few router ports.
- Rent a host. A few dollars a month to a game-server provider. No port forwarding, no leaving a PC on, and usually a web panel for backups. Worth it if nobody in the group wants to be the sysadmin.
The follow-along steps above cover the self-host route, since that is the one with moving parts. The rest of this guide explains the decisions those steps gloss over.
Self-hosting, explained
The dedicated server is a separate free download in Steam โ look under Tools in your library for "Valheim Dedicated Server." Installing the game is not enough; you need this specific tool.
Once installed, you edit the start script to set three things: a server name (what shows in the browser), a world name (which save file to load or create), and a password of at least five characters. That password is mandatory and protects your world from strangers.
The port forwarding part
This is the step that scares people off, and it should not. Valheim needs three UDP ports โ 2456 through 2458 โ pointed at the machine running the server. In your router's admin page, find port forwarding, and route that range to the host PC's local IP address.
If your router or ISP makes this genuinely painful (some use carrier-grade NAT that blocks it entirely), that is your signal to rent a host instead. Providers handle networking for you, and it eliminates the single most common failure point.
Joining the server
Once the console prints that the world is ready, your group connects from the main game:
- Choose Join Game.
- Add the server by its public IP address and port 2456.
- Enter the password.
- Pick a character and spawn in.
Have the host share the IP and password in your group chat. If you rented a host, the provider's panel gives you a direct connect address.
Keeping the world healthy
A dedicated server rewards a little maintenance:
- Back up the world save regularly. It lives in the server's save directory. A weekly copy means a corrupted file never ends a campaign.
- Update promptly. When Valheim patches, both the game and the dedicated server tool need updating, or players cannot connect.
- Consider mods for more slots. The community-maintained ValheimPlus (Reforged) fork adds quality-of-life tuning, including server-slot options if you want to push past the default ten. Everyone joining a modded server needs the same mods installed.
When ten is not enough
If your group has outgrown Valheim's cap and wants a similar survival-builder loop with more room, Enshrouded runs up to 16 players through a toxic-fog world with deep base-building and combat that has real weight. It scratches the same "let's build a cathedral and fight bigger bosses every week" itch with a bigger lobby out of the box.
But for most crews, a properly configured Valheim dedicated server is the destination, not a stopgap. Set it up once, share the IP, and your Norse purgatory is open around the clock.
Games in this guide
More guides
Your friend group outgrew the lobby. These games have community mods that fit everyone.
The four-player cap is a lie. Here is how to get your whole Discord onto the same moon.
Eight is the awkward middle number. Here is how to plan a night where nobody sits out.
New to chaotic voice-chat co-op? Play these five in order and you will understand the whole genre.
From This Week
Five quick questions, one verdict the whole group has to respect.