Introduction
In this tutorial, we’ll be guiding you through the process of creating a Valheim server on a Windows based VPS. We recommend purchasing a Game VPS from Iceline Hosting, as we’ve rigorously tested numerous hardware to ensure that your game server will perform at it’s best!
Installing a Valheim Server
First, you’ll need to use RDP (Remote Desktop Protocol) to login to your VPS.
1) Navigate to “This PC” then “Local Disk (C:)
![This image has an empty alt attribute; its file name is mstsc_FcfBYjAaWt-1024x577.png](https://knowledgebase.content.iceline.host/content/images/wordpress/2020/12/mstsc_FcfBYjAaWt-1024x577.png)
2) Create a new folder labelled “SteamCMD”
![This image has an empty alt attribute; its file name is mstsc_Q6EskIaQM6-1024x579.png](https://knowledgebase.content.iceline.host/content/images/wordpress/2020/12/mstsc_Q6EskIaQM6-1024x579.png)
3) Download SteamCMD for Windows, then extract the contents of “steamcmd.zip” into the folder you just created
![This image has an empty alt attribute; its file name is image.png](https://knowledgebase.content.iceline.host/content/images/wordpress/2020/12/image.png)
5) Follow these instructions:
- Type “login anonymous”
- Type “force_install_dir c:\valheim_server\”
- Type “app_update 896660”
![](https://knowledgebase.content.iceline.host/content/images/wordpress/2021/02/mstsc_Gl0Lcnq5YE-1.png)
6) Once the server is finished installing, navigate to the folder where you installed the server (C:/valheim_server)
![](https://knowledgebase.content.iceline.host/content/images/wordpress/2021/02/mstsc_2LqI8B1eWe-1024x577.png)
7) Create a new file labelled “start.bat” and copy the following: contents:
start valheim_server.exe -nographics -batchmode -name "My server" -port 2456 -world "Dedicated" -password "secret" -public 1
![](https://knowledgebase.content.iceline.host/content/images/wordpress/2021/02/mstsc_xEuyS38jlJ.png)
8) Modify the variables to your liking, such as the password, server hostname etc.
9) Press the Windows button and search for “Allow an app through Windows Firewall”
![This image has an empty alt attribute; its file name is mstsc_uawfOcDuge.png](https://knowledgebase.content.iceline.host/content/images/wordpress/2020/12/mstsc_uawfOcDuge.png)
10) Click “Allow another app…”
![This image has an empty alt attribute; its file name is mstsc_283lJcGnqY-1024x577.png](https://knowledgebase.content.iceline.host/content/images/wordpress/2020/12/mstsc_283lJcGnqY-1024x577.png)
11) Click “Browse” then navigate to “C:/valheim_server” then click “valheim_server.exe” and click “Open”
![](https://knowledgebase.content.iceline.host/content/images/wordpress/2021/02/mstsc_RLfRzhEYS4.png)
12) Click “Add” then press “OK” – The Rust server is now allowed through the firewall!
![](https://knowledgebase.content.iceline.host/content/images/wordpress/2021/02/mstsc_8o8K4GDW3G-1024x577.png)
13) Navigate to “C:/valheim_server” then double click “start.bat” and the server should start!
![](https://knowledgebase.content.iceline.host/content/images/wordpress/2021/02/image-8.png)
That’s It!
If you have followed all the steps correctly, your Valheim server should be successfully installed on your VPS. If you’re facing any issues, feel free to contact us!