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.
ServoMix 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 |
|---|---|---|---|---|---|---|---|
| SMX vPro XS (AMD EPYC) | 2 | 8 GB DDR4 ECC | 40 GB NVMe SSD | 1 Gbps, unmetered | ₹420/mo | Websites, small APIs, bots, staging and VPN servers | Order |
| SMX vPro S (AMD EPYC) | 4 | 16 GB DDR4 ECC | 80 GB NVMe SSD | 1 Gbps, unmetered | ₹560/mo | WooCommerce, Node.js/Python backends, Docker Compose stacks, CI runners | Order |
| SMX vPro M (AMD EPYC) | 8 | 32 GB DDR4 ECC | 150 GB NVMe SSD | 1 Gbps, unmetered | ₹840/mo | Production databases, high-traffic sites, multi-container apps | Order |
| SMX vPro L (AMD EPYC) | 16 | 64 GB DDR4 ECC | 250 GB NVMe SSD | 1 Gbps, unmetered | ₹1,120/mo | 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 |
|---|---|---|---|---|---|---|---|
| SMX vCore XS (Intel Xeon) | 2 | 8 GB DDR4 ECC | 40 GB NVMe SSD | 1 Gbps, unmetered | ₹270/mo | Business websites, small apps, scheduled jobs and bots | Order |
| SMX vCore S (Intel Xeon) | 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 |
| SMX vCore M (Intel Xeon) | 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 |
| SMX vCore L (Intel Xeon) | 16 | 64 GB DDR4 ECC | 250 GB NVMe SSD | 1 Gbps, unmetered | ₹4,248/month | High-memory workloads and consolidated production servers | Check stock |
Prices are monthly in INR as listed on the ServoMix store (verified 2026-11-14). Stock and final pricing are shown on the product page at checkout.
Frequently Asked Questions
How do I install a Valheim dedicated server?
Which ports does Valheim use?
How much RAM does a Valheim server need?
Why won't my Valheim server start?
Does Valheim support crossplay servers?
How do I mod a Valheim server?
How should I back up Valheim worlds?
Can I run Valheim on Linux?
Can one VPS host Valheim and other servers?
Which plan suits a Valheim server?
Related Guides
Frequently Asked Questions
How do I install a Valheim dedicated server?
Use SteamCMD to install app 896660 and start it with a name, world, password and port.
Which ports does Valheim use?
UDP 2456–2458 by default.
How much RAM does a Valheim server need?
Around 8 GB for a typical group; more for mods or several worlds.
Why won't my Valheim server start?
A common cause is a password shorter than five characters or contained in the server name.
Does Valheim support crossplay servers?
Yes, crossplay can be enabled on dedicated servers; players then join with a code.
How do I mod a Valheim server?
With BepInEx and compatible mods installed on both server and clients.
How should I back up Valheim worlds?
Copy world files several times a day to off-server storage and always before updates.
Can I run Valheim on Linux?
Yes, the dedicated server runs on Linux and Windows.
Can one VPS host Valheim and other servers?
Yes, Valheim is light enough to share a VPS with other small services.
Which plan suits a Valheim server?
2 vCores / 8 GB for most groups; 4 vCores / 16 GB for modded worlds.
Your feedback helps us continuously improve ServoMix guides.
Know someone who may find this guide useful?
