How to Create a Valheim Server Guide

From Survival Servers
Revision as of 18:07, 18 September 2026 by Ryan (talk | contribs) (Link the ValheimOne player install guide)
Jump to navigation Jump to search

This Valheim server guide covers both ways to run a Valheim dedicated server: renting Valheim server hosting from a provider, or building a dedicated server yourself on a spare PC or a rented box. It is current for Valheim 1.0 and the Deep North, which releases 9 September 2026.

If you would rather skip the setup entirely, you can rent Valheim server hosting with instant setup, or read on to build one yourself for free.

Valheim 1.0 and the Deep North: what changed

Valheim leaves early access on 9 September 2026 after more than five years. For anyone running a server, these are the parts that matter:

  • The Deep North is the final biome. New enemies including Gammeltrolls, new frozen dungeons,
 new gear, and grappling hooks for traversal.
  • Existing worlds carry over. You do not need a fresh world. Deep North terrain generates in
 regions of your map that have not been explored yet. If your group has already charted the far
 north, start a new world to see the new content properly.
  • Full crossplay. PC, Xbox, Game Pass, and at 1.0 also PlayStation 5 and Nintendo Switch 2.
 A crossplay server accepts all of them.
  • Update your server before your players update their game. A client on 1.0 cannot join a
 server still on the previous build; the error reads "incompatible version" (every fix is in Valheim Incompatible Version Error). Re-run your install
 script to patch the server.

Option 1: Renting a Valheim server

Renting takes about two minutes and removes the port forwarding, patching and uptime problems entirely. A host runs the machine, keeps the server updated, and gives you a control panel for settings, mods and backups.

Control panel.gif
Valheim game server.png

Every Valheim server at Survival Servers also includes ValheimOne, an open source server side mod that adds a live map of your world, shared map pins, a web console and Discord notifications. It runs on the server only, so players join with unmodified clients. Some optional gameplay settings also need the mod on each player's PC: see How to Install ValheimOne on Your PC.

Option 2: Creating a Valheim dedicated server yourself

Server requirements

Component Minimum Recommended
Operating system Windows 10, Windows 11, or Windows Server 2019/2022 Windows 11 or Server 2022
CPU Modern quad core Fast quad core. Valheim leans on single thread speed far more than core count
Memory 4 GB free for the server 8 GB free. A long running world with several players will use more than the 2 GB an empty world needs
Storage 2 GB for the install SSD or NVMe. World saves grow and are written on every autosave
Network 5 Mbit up Wired connection. Hosting from a home Wi-Fi PC is the most common cause of rubber banding

Step 1: Download the server files with SteamCMD

The dedicated server is distributed through Valve's command line tool, SteamCMD. You do not need to own Valheim on the account that downloads it.

  1. Create a folder for your Valheim server hosting files, for example C:\Valheim
  2. Download SteamCMD and place steamcmd.exe inside it
  3. Create a batch file named install.bat in that folder
  4. Paste the following into it:
@echo off
start "" "steamcmd.exe" +force_install_dir "C:\Valheim\ValheimServer" +login anonymous +app_update 896660 validate +quit
  1. Run install.bat and wait for "Success! App '896660' fully installed"

Run this same file again whenever Valheim updates, including on 1.0 launch day, to patch the server.

Step 2: Create the start file

The server ships with start_headless_server.bat. Copy it and edit your copy — the original is overwritten every time the server updates.

valheim_server.exe -nographics -batchmode -name "My Server" -port 2456 -world "Midgard" -password "vikings" -public 1 -crossplay

Double click it. Leave the console window open; closing it incorrectly can lose recent progress. The first launch creates your world and the save folders.

Step 3: Configure the server

Valheim has no settings file. World rules are set as flags on the start line above.

Flag What it does
-name "My Server" The name shown in the server browser
-world "Midgard" World name. Creates the world on first run, loads it afterwards
-password "vikings" Join password. Minimum five characters, and it cannot contain the world or server name
-port 2456 Game port. The server also uses the next port up (2457)
-public 1 Lists the server in the community browser. Use 0 to hide it
-crossplay Enables the crossplay backend so Xbox, Game Pass, PlayStation 5 and Switch 2 players can join. Also removes the need to port forward
-saveinterval 900 Seconds between autosaves. Default is 1800
-preset casual Applies a world modifier preset (casual, easy, hard, hardcore, immersive, hammer)

Three plain text files control access. They live in the save folder (see below), one platform ID per line:

  • adminlist.txt — grants admin, which unlocks the server commands in the in game console (the full list is in Valheim Console Commands)
  • bannedlist.txt — bans those players
  • permittedlist.txt — turns the server into a whitelist; if it has any entries, only those
 players can join

The full list of launch parameters, every world modifier preset and value, and the live setworldmodifier commands are in Valheim Server Settings. For values vanilla does not expose, see Valheim Plus.

Step 4: Port forwarding

If you used -crossplay you can skip this step entirely. Crossplay servers connect through a relay, which is the single easiest fix for "my friends cannot join".

Otherwise, forward UDP 2456 and UDP 2457 to the machine running the server, and allow the same ports through Windows Firewall. PortForward.com has instructions per router model.

Players can then find you in the in game community browser, or connect directly using your public IP and port. Playing on the same PC as the server? Use localhost.

See How to Join a Valheim Server for the joining steps in detail.

Where world saves are stored

%userprofile%/AppData/LocalLow/IronGate/Valheim/worlds_local

If you passed -savedir, saves go there instead. You will find two files per world:

  • Midgard.db — the world data
  • Midgard.fwl — the world metadata, including its name and seed

Back up both together. A .db without its .fwl is not loadable.

Frequently asked questions

How much RAM does a Valheim server need?

An empty world runs in about 2 GB. A long running world with several players online is comfortable with 8 GB free. Memory use grows with the number of built structures and loaded zones, not with player count alone.

Do I need to own Valheim to run a dedicated server?

No. The server files download anonymously through SteamCMD. You only need the game to play.

Does my existing world work in Valheim 1.0?

Yes. Deep North terrain generates in unexplored regions of your map. Areas your group has already charted stay as they are, so a heavily explored far north will not show the new biome properly.

Can PlayStation and Switch players join my server?

Yes, from 1.0 onward, if the server is started with the -crossplay flag.

Why do my friends get "incompatible version"?

The server and the client are on different builds. Re-run your install script to patch the server, then restart it.

Why can nobody connect to my server?

In order of likelihood: the server was started without -crossplay and UDP 2456 and 2457 are not forwarded; Windows Firewall is blocking the ports; or the password is under five characters, which stops the server from starting at all.

Is it cheaper to host a Valheim server myself?

Self hosting costs nothing but uses your own hardware, bandwidth and uptime, and the machine has to stay on for others to play. Rented Valheim server hosting starts in the low teens per month and removes patching, port forwarding and downtime.

Additional resources

Valheim Console Commands (admin commands and cheats)
Valheim Server Settings (every launch parameter and world modifier)
How to Join a Valheim Server
How to Install Valheim Plus
Valheim Live Map