How to Create a Valheim Server Guide: Difference between revisions
Standards cleanup: config lines to pre/code, spacer/HTML removal, heading normalization (corpus audit 2026-07-21) |
Rewrite: 1.0 and Deep North section, corrected SteamCMD login and server binary name, crossplay flag guidance, flags table, FAQ, updated requirements |
||
| Line 1: | Line 1: | ||
{{DISPLAYTITLE:Valheim Server Hosting: How to Create a Valheim Server (1.0 & Deep North)}} | |||
__TOC__ | |||
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''', released 9 September 2026. | |||
If you would rather skip the setup entirely, you can | |||
[https://www.survivalservers.com/services/game_servers/valheim/ 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 left 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". 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. | |||
[[File:Control panel.gif|none|link=https://www.survivalservers.com/sspanel/?game=valheim&trckaff=3881&trckit=WIKI]] | [[File:Control panel.gif|none|link=https://www.survivalservers.com/sspanel/?game=valheim&trckaff=3881&trckit=WIKI]] | ||
[[File:Valheim_game_server.png|none|link=https://www.survivalservers.com/sspanel/?game=valheim&trckaff=3881&trckit=WIKI]] | [[File:Valheim_game_server.png|none|link=https://www.survivalservers.com/sspanel/?game=valheim&trckaff=3881&trckit=WIKI]] | ||
== Option | Every [https://www.survivalservers.com/services/game_servers/valheim/ Valheim server] at Survival | ||
== Server | 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. | |||
== Option 2: Creating a Valheim dedicated server yourself == | |||
=== Server requirements === | |||
{| class="wikitable" | |||
! 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, | |||
[https://developer.valvesoftware.com/wiki/SteamCMD SteamCMD]. You do not need to own Valheim on the | |||
account that downloads it. | |||
# Create a folder for your Valheim server hosting files, for example <code>C:\Valheim</code> | |||
# Download SteamCMD and place <code>steamcmd.exe</code> inside it | |||
# Create a batch file named '''install.bat''' in that folder | |||
# Paste the following into it: | |||
<pre>@echo off | |||
start "" "steamcmd.exe" +force_install_dir "C:\Valheim\ValheimServer" +login anonymous +app_update 896660 validate +quit</pre> | |||
# 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 <code>start_headless_server.bat</code>. '''Copy it and edit your copy''' — the | |||
original is overwritten every time the server updates. | |||
<pre>valheim_server.exe -nographics -batchmode -name "My Server" -port 2456 -world "Midgard" -password "vikings" -public 1 -crossplay</pre> | |||
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. | |||
{| class="wikitable" | |||
! Flag !! What it does | |||
|- | |||
| <code>-name "My Server"</code> || The name shown in the server browser | |||
|- | |||
| <code>-world "Midgard"</code> || World name. Creates the world on first run, loads it afterwards | |||
|- | |||
| <code>-password "vikings"</code> || Join password. '''Minimum five characters''', and it cannot contain the world or server name | |||
|- | |||
| <code>-port 2456</code> || Game port. The server also uses the next port up (2457) | |||
|- | |||
| <code>-public 1</code> || Lists the server in the community browser. Use <code>0</code> to hide it | |||
|- | |||
| <code>-crossplay</code> || Enables the crossplay backend so Xbox, Game Pass, PlayStation 5 and Switch 2 players can join. '''Also removes the need to port forward''' | |||
|- | |||
| <code>-saveinterval 900</code> || Seconds between autosaves. Default is 1800 | |||
|- | |||
| <code>-preset casual</code> || 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 in game console | |||
* '''bannedlist.txt''' — bans those players | |||
* '''permittedlist.txt''' — turns the server into a whitelist; if it has any entries, only those | |||
players can join | |||
For deeper configuration, see [[How to Install Valheim Plus|Valheim Plus]]. | |||
=== Step 4: Port forwarding === | |||
'''If you used <code>-crossplay</code> 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. [http://PortForward.com/ 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 <code>localhost</code>. | |||
See [[How_to_Join_a_Valheim_Server|How to Join a Valheim Server]] for the joining steps in detail. | |||
== Where world saves are stored == | |||
<pre>%userprofile%/AppData/LocalLow/IronGate/Valheim/worlds_local</pre> | |||
If you passed <code>-savedir</code>, 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 <code>.db</code> without its <code>.fwl</code> 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 <code>-crossplay</code> 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 <code>-crossplay</code> 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. | |||
[https://www.survivalservers.com/services/game_servers/valheim/ Rented Valheim server hosting] starts | |||
in the low teens per month and removes patching, port forwarding and downtime. | |||
== Additional | == Additional resources == | ||
:[[Valheim_Admin_Commands|Admin Commands]] | :[[Valheim_Admin_Commands|Valheim Admin Commands]] | ||
:[[How_to_Join_a_Valheim_Server|How to Join a Valheim Server]] | :[[How_to_Join_a_Valheim_Server|How to Join a Valheim Server]] | ||
:[[How to Install Valheim Plus|How to Install Valheim Plus]] | |||
Revision as of 17:50, 26 July 2026
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, released 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 left 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". 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.
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.
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.
- Create a folder for your Valheim server hosting files, for example
C:\Valheim - Download SteamCMD and place
steamcmd.exeinside it - Create a batch file named install.bat in that folder
- Paste the following into it:
@echo off start "" "steamcmd.exe" +force_install_dir "C:\Valheim\ValheimServer" +login anonymous +app_update 896660 validate +quit
- 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 in game console
- bannedlist.txt — bans those players
- permittedlist.txt — turns the server into a whitelist; if it has any entries, only those
players can join
For deeper configuration, 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.
