Valheim's co-op Viking survival is best on a dedicated server that keeps the world available whenever any friend wants to play. A VPS gives better uptime and performance than hosting from a gaming PC, and lets you add mods and automated backups. This guide covers setup, ports, backups, mods and sizing.
Installation
- Create a dedicated system user.
- Install SteamCMD and download app
896660into a server directory. - Create a start script that runs the server binary with
-name,-world,-password,-portand-publicoptions; Valheim requires a password of at least five characters that is not contained in the server name. - Run it as a systemd service (Linux) or Windows service with automatic restart.
Ports and Firewall
Open UDP 2456–2458 (or your chosen base port and the next two). Restrict everything else with a firewall (see our firewall guide), and use SSH keys for server access.
Crossplay
Valheim supports crossplay between Steam and other platforms such as Xbox and Game Pass. Enabling crossplay on a dedicated server changes how players connect (through a join code rather than only IP and port). Enable it only if you need it, and check the game's current documentation for the right launch option.
World Saves and Backups
Valheim stores worlds as files in the server's save directory and keeps some automatic backups. Add your own backup routine: copy world files several times a day to off-server storage and keep several days of history. Always back up before game updates or adding mods, so you can roll back if something breaks.
Mods
BepInEx is the common mod loader for Valheim, and many popular mods require it on both server and clients. Keep the mod list consistent between server and players, update mods after game patches, and test on a copy of the world before changing your main server.
Performance Tips
- Very large bases with many build pieces, lights and fires increase load; spread big projects out where possible.
- Restart the server on a schedule (for example daily) during quiet hours.
- Fast NVMe storage helps world saves, which can cause brief hitches on slow disks.
- Watch CPU and memory when many players gather in one area.
Sizing
| Setup | Suggested resources |
|---|---|
| Friends group (up to 10 players) | 2 vCores / 8 GB |
| Modded world or larger community | 4 vCores / 16 GB |
| Several worlds or other game servers too | 4–8 vCores / 16–32 GB |
Because Valheim is light, a VPS can comfortably host a Valheim world alongside other small game servers or a Discord bot.
Updates
After game patches, update the server with SteamCMD so players can join. Script the update (stop, back up, update, start) and run it promptly. If you use mods, wait for mod updates before restarting with them enabled.
DDoS Protection and Location
Public servers can attract attacks; network-level DDoS mitigation helps (see our DDoS guide). Host near your players for the best experience; Indian groups benefit from servers in India.
Example: A Modded Friends Server
A group of eight runs a BepInEx-modded Valheim world on a 4 vCore / 16 GB VPS that also hosts their Discord bot. A cron job backs up world files every three hours to object storage and restarts the server at 5 AM daily. Updates wait until mods are compatible.
Common Mistakes
- A server password shorter than five characters or contained in the server name.
- Forgetting to open all three UDP ports.
- Updating the game before mods are ready.
- Relying only on the game's automatic backups.
- Mismatched mods between server and players.
In Short
Install with SteamCMD, open UDP 2456–2458, set a valid password, back up world files often, manage mods with BepInEx consistently, and host near your players on a modest VPS. For other games, see our game server VPS guide.
Admins, Bans and Permitted Lists
Valheim uses simple text files in the save directory to list admins, banned players and permitted players by their platform IDs. Add your own ID to the admin list to use admin commands, and use the permitted list to lock a private server to your friends even if the password leaks. Keep these files in your backups so a restore does not reset permissions.
Next Steps
Install the server, open the UDP ports, add yourself as an admin, set up backups and decide on mods before your group starts a new world.
Moving an Existing World
If your group started on one player's PC, copy the world's files from that player's local worlds folder to the server's save directory, keeping the same world name, then start the server with that world name. Back up the original files first. Character data stays with each player, so only the world needs moving. After the move, have everyone join once and check that bases and portals are intact before deleting the local copy. Whichever game you host, write down your settings, update routine and backup locations, so anyone on your admin team can restore the server confidently if something goes wrong late at night. Review the setup after the first busy weekend: check memory, ping complaints and backup logs, then adjust the plan size or restart schedule before small issues grow into outages that frustrate your players.
SkyRainCloud Plans for This Workload
Valheim servers are relatively light: 2 vCores / 8 GB handles a typical group, and 4 vCores / 16 GB suits modded worlds or several worlds on one server.
AMD EPYC 7C13 VPS
Dedicated KVM vCores on AMD EPYC 7C13 (up to 3.70 GHz) with DDR4 ECC memory, NVMe SSD and an unmetered 1 Gbps port.
| Plan | vCores | RAM | Storage | Network | Price | Good for | Buy |
|---|---|---|---|---|---|---|---|
| VPS 1 — AMD | 2 | 8 GB DDR4 ECC | 40 GB NVMe SSD | 1 Gbps, unmetered | ₹649/month | Websites, small APIs, bots, staging and VPN servers | Order |
| VPS 2 — AMD | 4 | 16 GB DDR4 ECC | 80 GB NVMe SSD | 1 Gbps, unmetered | ₹1,299/month | WooCommerce, Node.js/Python backends, Docker Compose stacks, CI runners | Order |
| VPS 3 — AMD | 8 | 32 GB DDR4 ECC | 150 GB NVMe SSD | 1 Gbps, unmetered | ₹2,499/month | Production databases, high-traffic sites, multi-container apps | Order |
| VPS 4 — AMD | 16 | 64 GB DDR4 ECC | 250 GB NVMe SSD | 1 Gbps, unmetered | ₹4,899/month | Large production workloads, SaaS platforms, analytics, in-memory caches | Order |
Intel Xeon Platinum 8269CY VPS
KVM VPS on Intel Xeon Platinum 8269CY (up to 3.80 GHz Turbo) with DDR4 ECC memory, NVMe SSD, full root access and an unmetered 1 Gbps port.
| Plan | vCores | RAM | Storage | Network | Price | Good for | Buy |
|---|---|---|---|---|---|---|---|
| VPS 1 — Intel | 2 | 8 GB DDR4 ECC | 40 GB NVMe SSD | 1 Gbps, unmetered | ₹649/month | Business websites, small apps, scheduled jobs and bots | Order |
| VPS 2 — Intel | 4 | 16 GB DDR4 ECC | 80 GB NVMe SSD | 1 Gbps, unmetered | ₹1,169/month | Business software, mid-size databases, several sites on one server | Check stock |
| VPS 3 — Intel | 8 | 32 GB DDR4 ECC | 150 GB NVMe SSD | 1 Gbps, unmetered | ₹2,249/month | ERP/CRM stacks, heavier databases, multiple production apps | Check stock |
| VPS 4 — Intel | 16 | 64 GB DDR4 ECC | 250 GB NVMe SSD | 1 Gbps, unmetered | ₹4,299/month | High-memory workloads and consolidated production servers | Check stock |
Prices are monthly in INR as listed on the SkyRainCloud store (verified 2026-11-14). Stock and final pricing are shown on the product page at checkout.