How to Create a Valheim Server Guide: Difference between revisions

From Survival Servers
Jump to navigation Jump to search
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:
Creating a Valheim game server is an easy process that can be done from either a dedicated server or your home computer. Alternatively, you can choose a [https://www.survivalservers.com/services/game_servers/valheim/ Valheim server host] that will fit your needs.
{{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.


== Option #1: Renting a Valheim server (see example control panel below!) ==
[[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 #2: Creating a Valheim Server From Your Home Computer or Dedicated Server ==
Every [https://www.survivalservers.com/services/game_servers/valheim/ Valheim server] at Survival
== Server Requirements ==
Servers also includes '''ValheimOne''', an open source server side mod that adds a live map of your
Windows 7, 8, 8.1, Server 2016, Server 2019 & 64-Bit
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:


Quad Core processor (requires up to 2 full cores)
* '''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


Up to 16GB memory (currently uses around 2GB memory)
For deeper configuration, see [[How to Install Valheim Plus|Valheim Plus]].


2GB disk space (install folder)
=== Step 4: Port forwarding ===


== Step 1: Fetching Game Server files ==
'''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".


The best method to get dedicated server game files is via the dedicated server depot on Steam via [https://developer.valvesoftware.com/wiki/SteamCMD SteamCMD].
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.


# Create a folder where you wish to store your Valheim game server hosting files
Players can then find you in the in game community browser, or connect directly using your public IP
# Inside of the folder, place the newly downloading SteamCMD.exe file
and port. Playing on the same PC as the server? Use <code>localhost</code>.
# Create a batch file named '''SteamCMD.bat'''
# Place the following code in this batch file:
::: @echo off
::: start "" steamcmd.exe +login USER PASS +force_install_dir "C:\Some\Path\Where\You\Want\Game\Server\Files\To\Go" +app_update 896660 validate +quit
# Right-click SteamCMD.bat and Run as Administrator
# Your game server files should be completely downloaded by now


== Step 2: Setting up a Valheim Dedicated Server ==
See [[How_to_Join_a_Valheim_Server|How to Join a Valheim Server]] for the joining steps in detail.


# Create a batch file named '''ValheimServer.bat''' in your newly created Valheim server folder from step 1
== Where world saves are stored ==
# Place the following code in this batch file:
::: start valheimServer.exe -nographics -batchmode -name "My server" -port 2456 -world "Dedicated" -password "secret" -public 1


== Step 3: Configuring your Valheim Server ==
<pre>%userprofile%/AppData/LocalLow/IronGate/Valheim/worlds_local</pre>
Now comes the fun part, setting up your Valheim game server to your liking. There are some launch parameters to be aware of.


'''-name "My server"''' - Names the server<br>
If you passed <code>-savedir</code>, saves go there instead. You will find two files per world:
'''-password "secret"''' - Sets a password<br>
'''-crossplay''' - Enables crossplay<br>
'''-saveinterval "15"''' - Sets a custom save interval<br>


There are also a few files that can be configured for admin purposes.<br>
* '''Midgard.db''' — the world data
* '''Midgard.fwl''' — the world metadata, including its name and seed


'''adminlist.txt''' - stores user admins using Steam IDs (1 per line)<br>
Back up both together. A <code>.db</code> without its <code>.fwl</code> is not loadable.
'''bannedlist.txt''' - bans users using Steam IDs (1 per line)<br>
'''permittedlist.txt''' - whitelists allowed users by Steam ID (1 per line)<br>


For additional settings consider installing and using [[How to Install Valheim Plus|Valheim+]].
== Frequently asked questions ==


== Step 3: Port Forwarding ==
=== How much RAM does a Valheim server need? ===
Add an incoming rule to your Windows Firewall to allow TCP/UDP port (game port) 2456, (Steam query port) 2457 (or whichever ports you decide to use)
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.


You may additionally need to add a forwarding rule to your network router. You can use [http://PortForward.com/ PortForward.com] to read how to do this.
=== 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.


== Location of World Save Data ==
=== 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.


To locate your save folder, navigate to this folder:
=== Can PlayStation and Switch players join my server? ===
Yes, from 1.0 onward, if the server is started with the <code>-crossplay</code> flag.


<pre>%userprofile%/AppData/LocalLow/IronGate/Valheim/Worlds</pre>
=== 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.


There will be two files:
=== 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.


* Dedicated.db (your map data)
=== Is it cheaper to host a Valheim server myself? ===
* Dedicated.fwl (your identifier which includes your worldname and seed)
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 Resources and Reading ==
== 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]]
__NOTOC__
:[[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.

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.

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 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.

Additional resources

Valheim Admin Commands
How to Join a Valheim Server
How to Install Valheim Plus