---
title: "How to host a Valheim server on a VPS in Brazil | StreetHosting"
description: "Run a Valheim dedicated server on a Linux VPS with SteamCMD: install it, set the name, password and world, open the ports and keep the server online 24/7."
url: "https://streethosting.com.br/en/guides/vps/host-valheim-server-brazil"
type: "page"
language: "en-US"
---

VPS · 3 min · Advanced

Published on Jun 18, 2026 · Updated on Jun 18, 2026

# Host a Valheim server on a VPS: complete guide for Brazil

Valheim has an official dedicated server available through SteamCMD. Learn how to install it on a Linux VPS in Brazil, set the name, password and saved world, open the ports and keep the server running permanently.

By [Equipe StreetHosting](https://streethosting.com.br/en/autores#equipe-streethosting) · StreetHosting infrastructure and support team

[Linux administration](https://streethosting.com.br/en/guides/topics/linux) [Other games](https://streethosting.com.br/en/guides/topics/other-games)

Summarize with:

[](https://chat.openai.com/?q=Summarize%20the%20key%20points%20of%20this%20StreetHosting%20guide%3A%20https%3A%2F%2Fstreethosting.com.br%2Fen%2Fguides%2Fvps%2Fhost-valheim-server-brazil.%20Highlight%20the%20step-by-step%20instructions%2C%20the%20prerequisites%20and%20the%20most%20common%20mistakes. "ChatGPT") [](https://claude.ai/new?q=Summarize%20the%20key%20points%20of%20this%20StreetHosting%20guide%3A%20https%3A%2F%2Fstreethosting.com.br%2Fen%2Fguides%2Fvps%2Fhost-valheim-server-brazil.%20Highlight%20the%20step-by-step%20instructions%2C%20the%20prerequisites%20and%20the%20most%20common%20mistakes. "Claude") [](https://www.google.com/search?udm=50&aep=11&q=Summarize%20the%20key%20points%20of%20this%20StreetHosting%20guide%3A%20https%3A%2F%2Fstreethosting.com.br%2Fen%2Fguides%2Fvps%2Fhost-valheim-server-brazil.%20Highlight%20the%20step-by-step%20instructions%2C%20the%20prerequisites%20and%20the%20most%20common%20mistakes. "Google AI Mode") [](https://x.com/i/grok?text=Summarize%20the%20key%20points%20of%20this%20StreetHosting%20guide%3A%20https%3A%2F%2Fstreethosting.com.br%2Fen%2Fguides%2Fvps%2Fhost-valheim-server-brazil.%20Highlight%20the%20step-by-step%20instructions%2C%20the%20prerequisites%20and%20the%20most%20common%20mistakes. "Grok") [](https://www.perplexity.ai/search/new?q=Summarize%20the%20key%20points%20of%20this%20StreetHosting%20guide%3A%20https%3A%2F%2Fstreethosting.com.br%2Fen%2Fguides%2Fvps%2Fhost-valheim-server-brazil.%20Highlight%20the%20step-by-step%20instructions%2C%20the%20prerequisites%20and%20the%20most%20common%20mistakes. "Perplexity")

Share:

[](https://x.com/intent/tweet?text=How%20to%20host%20a%20Valheim%20server%20on%20a%20VPS%20in%20Brazil&url=https%3A%2F%2Fstreethosting.com.br%2Fen%2Fguides%2Fvps%2Fhost-valheim-server-brazil "Share on X") [](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fstreethosting.com.br%2Fen%2Fguides%2Fvps%2Fhost-valheim-server-brazil "Share on Facebook") [](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fstreethosting.com.br%2Fen%2Fguides%2Fvps%2Fhost-valheim-server-brazil "Share on LinkedIn") [](https://wa.me/?text=How%20to%20host%20a%20Valheim%20server%20on%20a%20VPS%20in%20Brazil%20https%3A%2F%2Fstreethosting.com.br%2Fen%2Fguides%2Fvps%2Fhost-valheim-server-brazil "Share on WhatsApp")

For agents: Copy as Markdown [.md](https://streethosting.com.br/en/guides/vps/host-valheim-server-brazil.md)

In this guide 6 sections

* [Hardware requirements](https://streethosting.com.br/en/guides/vps/host-valheim-server-brazil#requisitos)
* [Install with SteamCMD](https://streethosting.com.br/en/guides/vps/host-valheim-server-brazil#instalar)
* [Configure the server](https://streethosting.com.br/en/guides/vps/host-valheim-server-brazil#configurar)
* [Ports and firewall](https://streethosting.com.br/en/guides/vps/host-valheim-server-brazil#portas)
* [Keep the server online](https://streethosting.com.br/en/guides/vps/host-valheim-server-brazil#manter-online)
* [World backup](https://streethosting.com.br/en/guides/vps/host-valheim-server-brazil#backup-mundo)

Quick answer

To host a **Valheim** server on a VPS, install SteamCMD, download the server (app 896660), create the start script with the name, password and world defined, open ports 2456 and 2457/UDP in the firewall and set up a systemd service to keep the server running permanently.

## Hardware requirements[](https://streethosting.com.br/en/guides/vps/host-valheim-server-brazil#requisitos)

* **CPU**: 2 to 4 vCPUs. Valheim is not as demanding as Rust
* **RAM**: 4GB for small groups, 6GB for more than 8 players
* **Disk**: 5GB for the server plus the saved world
* **OS**: Ubuntu 22.04 LTS or Debian 12

Valheim is relatively light compared to other survival games. An [entry-level VPS](https://streethosting.com.br/en/vps) with 4GB of RAM and 2 vCPUs already handles a group of friends comfortably.

## Install with SteamCMD[](https://streethosting.com.br/en/guides/vps/host-valheim-server-brazil#instalar)

1. Install SteamCMD: `sudo apt install lib32gcc-s1 steamcmd -y`
2. Open SteamCMD: `steamcmd`
3. Log in anonymously: `login anonymous`
4. Set the destination: `force_install_dir /home/valheim/server`
5. Download the server: `app_update 896660 validate`
6. Exit: `quit`

## Configure the server[](https://streethosting.com.br/en/guides/vps/host-valheim-server-brazil#configurar)

Create a startup script in the server folder. Valheim is configured entirely through command-line arguments:

`#!/bin/bash ./valheim_server.x86_64 \ -name "Meu Servidor Brasil" \ -port 2456 \ -nographics \ -batchmode \ -world "MeuMundo" \ -password "SenhaForte" \ -public 1`

* \-name: the name shown in the server list
* \-world: the name of the world save file
* \-password: the password to join (minimum 5 characters)
* \-public 1: shows up in the public list (0 for a private server)

The Valheim server password must be at least 5 characters long. Shorter passwords cause an error at startup.

## Ports and firewall[](https://streethosting.com.br/en/guides/vps/host-valheim-server-brazil#portas)

Valheim uses two consecutive UDP ports, starting from the configured port:

* `sudo ufw allow 2456/udp`
* `sudo ufw allow 2457/udp`

If you use a port other than the default (2456), open the next port as well. See the guide on [configuring UFW](https://streethosting.com.br/en/guides/vps/ufw-firewall-ubuntu-vps) for more details on managing ports.

## Keep the server online[](https://streethosting.com.br/en/guides/vps/host-valheim-server-brazil#manter-online)

Set the server up as a systemd service so it starts automatically after the VPS reboots:

1. Create the file at `/etc/systemd/system/valheim.service`
2. Point ExecStart at the startup script
3. Enable it: `sudo systemctl enable valheim`
4. Start it: `sudo systemctl start valheim`
5. Check the status: `sudo systemctl status valheim`

For more advanced process management, see the guide on [PM2 and systemd on a VPS](https://streethosting.com.br/en/guides/vps/pm2-vs-systemd-nodejs).

## World backup[](https://streethosting.com.br/en/guides/vps/host-valheim-server-brazil#backup-mundo)

Valheim world saves live in **\~/.config/unity3d/IronGate/Valheim/worlds\_local/**. Each world has two files: _WorldName.db_ and _WorldName.fwl_.

Set up periodic automatic backups of that folder. See the guide on [automatic backups with Restic and cron](https://streethosting.com.br/en/guides/vps/vps-backup-restic-cron) for a complete solution.

In this guide

* [Hardware requirements](https://streethosting.com.br/en/guides/vps/host-valheim-server-brazil#requisitos)
* [Install with SteamCMD](https://streethosting.com.br/en/guides/vps/host-valheim-server-brazil#instalar)
* [Configure the server](https://streethosting.com.br/en/guides/vps/host-valheim-server-brazil#configurar)
* [Ports and firewall](https://streethosting.com.br/en/guides/vps/host-valheim-server-brazil#portas)
* [Keep the server online](https://streethosting.com.br/en/guides/vps/host-valheim-server-brazil#manter-online)
* [World backup](https://streethosting.com.br/en/guides/vps/host-valheim-server-brazil#backup-mundo)

## Frequently asked questions

How much RAM does a Valheim server need?

For 2 to 10 players, 4GB of RAM is enough. For larger groups or heavily explored worlds, 6GB to 8GB keeps things stable. Valheim does more processing as the map gets explored.

What is the Valheim dedicated server app ID on Steam?

The Valheim Dedicated Server has app ID 896660 on Steam. Use that ID in SteamCMD to download and update the server.

Can I use an existing saved world on the server?

Yes. Valheim worlds live in the .config/unity3d/IronGate/Valheim/worlds\_local folder. Copy the world's .db and .fwl files to the server's worlds folder and use the file name in the server start script.

How do I update the Valheim server?

Stop the server, open SteamCMD and run app\_update 896660 validate. SteamCMD only downloads the differences, so the update is quick. After updating, restart the server.

Next step

See Ryzen VPS

Ryzen 9 9950X VPS in São Paulo with root access, NVMe and gamer Anti-DDoS.

[See Ryzen VPS](https://streethosting.com.br/en/vps/ryzen)

[See VPS plans Root VPS in Brazil with NVMe and Anti-DDoS.](https://streethosting.com.br/en/vps)

## Related guides

[VPS Beginner How to choose a VPS in Brazil: complete guide A VPS that is too cheap usually hides overselling and slow disks. This guide turns what matters into a practical checklist for anyone hosting games, APIs or automation. 3 min Read guide](https://streethosting.com.br/en/guides/vps/how-to-choose-a-vps-in-brazil) [VPS Beginner UFW on Ubuntu VPS: firewall rules without losing SSH UFW makes the Ubuntu firewall simpler, but one rule in the wrong order locks you out of your VPS. Learn how to enable it without losing SSH, open only what you need, deal with Docker, and get back in through the console if something goes wrong. 10 min Read guide](https://streethosting.com.br/en/guides/vps/ufw-firewall-ubuntu-vps) [VPS Intermediate PM2 vs systemd: keep your Node app always online on a VPS Your app needs to come back on its own after a crash and start together with the VPS. PM2 and systemd solve this in different ways. Here is how to set up each one and which to pick. 3 min Read guide](https://streethosting.com.br/en/guides/vps/pm2-vs-systemd-nodejs)

[← Back to the Guide Center](https://streethosting.com.br/en/guides)
