
In a normal Sons of the Forest co-op game the world runs on one player's PC. When that player logs off, the island goes with them, and nobody else can play until they are back. A dedicated server fixes that: the island runs on its own machine, every player in the group can join when they want, and the base is still there tomorrow.
Quick answer: To keep the island online while the host is away, move the world from a co-op game to a dedicated server. You can rent one (ours start at €10.20 a month for 8 GB of RAM, and every plan holds the game's 8 players), install Endnight's server yourself on a VPS, or run it on a spare Windows PC that stays on. To keep strangers out, set a Password: the server still shows in the list by name, but nobody gets in without it.
This guide compares those routes, then covers what the server really needs, how to install it on Windows or on a Linux VPS, the settings that matter and how to keep your save safe. The facts come from Endnight's own dedicated server guide on Steam (last updated 15 January 2025) and from the two community setups that run the server on Linux.
Keep the island online without the host's PC
In co-op, the host's game is the server. Friends join that session and the world is saved on the host's PC, so when the host quits, everyone else is out too. A dedicated server takes that PC out of the picture. This is how the usual routes compare, next to the co-op setup you probably play now:
| Route | When the island is online | What it costs | What you manage |
|---|---|---|---|
| Co-op hosted from a PC | Only while the host is in the game | Nothing extra | Nothing, but the world, the save and the upload speed all depend on the host's PC |
| A rented server | Around the clock | Our plans: €10.20 a month for Shelter (8 GB), €15.80 for Cabin (12 GB), €20.50 for Fortress (16 GB), up to 8 players on each | Your settings, your save and your backups. The machine, Wine, the ports and DDoS protection are set up for you |
| A VPS or spare PC you run yourself | As long as the machine stays on | Our Standard VPS-M (4 vCores, 8 GB RAM, 80 GB NVMe) is €8.99 a month. A spare PC has no monthly fee, only its power bill | Everything: the install, updates, firewall and port forwarding, Wine on Linux, backups, and the fix when a patch breaks something |
Co-op works as long as your group always plays together. Once someone wants to log in alone, or the host is away for a week, the island is closed.
A rented server leaves you the least to manage. Ours are delivered in 2 to 5 minutes, set up automatically after checkout, with the three UDP ports already assigned, so there is nothing to forward. Shelter has the 8 GB the Linux server images ask for and suits two to four friends. Cabin gives a group of four room for a base that keeps growing, and Fortress has the 16 GB the Docker image recommends, with room for a full eight. Our Sons of the Forest servers run in Europe, in Germany or France. If you are still comparing hosts, our Sons of the Forest hosting comparison puts nine of them side by side.
A VPS gives you root access for the Docker image or the Pelican egg described further down. The Standard VPS-M covers the 8 GB floor, but our VPS page points game servers to the Premium line on a Ryzen 9 9950X, which costs €2.10 per GB of RAM a month. Either way you are the admin: when a game update breaks the Wine setup, you wait for the maintainers of the image or the egg, or you fix it yourself.
A spare PC at home has no monthly fee, and Windows is the platform Endnight supports. But it has to stay on, the three UDP ports have to be forwarded on your router, and the self-test wants a static public IPv4 address. If your router has no NAT loopback, you may not see the server in the dedicated server browser from the same network, only in the LAN browser. And if the spare PC is the one you game on, you are back to keeping your PC on.
Whichever route you pick, the co-op world can come along: the save transfer guide shows where the save sits on the host's PC and which slot folder it goes into on the server.
What happens when nobody is online
With a dedicated server the world no longer depends on the host's PC, their upload speed or their bedtime. The server keeps running after the last player leaves, and three default settings in dedicatedserver.cfg decide what it does while it waits:
IdleDayCycleSpeedis0.0, so time on the island stands still while the server is empty. Nobody comes back to a world that ran a week without them. Set it to a value up to 1 if you want days to pass anyway.IdleTargetFramerateis5, so an empty server uses very little CPU. Once a player joins, it runs atActiveTargetFramerate, 60 by default.SaveIntervalis600, so the server saves the world on its own every ten minutes.
So a friend who logs in on a quiet evening finds the island as the group left it, and can play without anyone else online.
Make the server private
On a Sons of the Forest server, private means a password, not a hidden server. Two settings in dedicatedserver.cfg sound related:
Passwordis the one Endnight's guide gives as the way to make a server "private". Anyone who connects is asked for it before they get in. It takes up to 40 characters and is empty by default, so a new server is open to anyone who finds it.LanOnlyset totruehides the server from the internet listing and limits it to your local network. That only helps when everyone plays under one roof. On a rented server, on a VPS or with friends elsewhere, leave it onfalse.
A server with a password still appears in the dedicated server list under its ServerName. Strangers can see the name but cannot join. Pick a name your friends can search for, share the password outside the game, and change it if it gets around. On our servers the password is the Password field in the Startup tab, which overrides the file.
The password decides who gets in; ownerswhitelist.txt decides who can manage the server once they are in. Owners can kick and ban from the in-game admin panel, covered below.
Sons of the Forest server at a glance
| Item | What you need to know |
|---|---|
| Players | 1 to 8 (MaxPlayers) |
| Operating system | Windows is the official platform. Linux works through Wine in community setups |
| Install | SteamCMD, app 2465200, anonymous login, no game copy needed |
| Ports | UDP 8766 (game), UDP 27016 (query), UDP 9700 (BlobSync) |
| RAM | Endnight publishes no figure. The Linux setups ask for at least 8 GB |
| Disk | 12 GB or more, 20 GB on SSD recommended by the Docker image |
| Config | dedicatedserver.cfg, a JSON file in the user data folder |
| Private server | Password, up to 40 characters. The server stays in the list |
How much RAM and CPU it needs
Endnight's guide lists no hardware requirements at all, so any exact figure you see online is someone's estimate. The two maintained Linux setups give the most useful numbers:
- The Pelican egg for the Pelican and Pterodactyl panels says you need a minimum of 8 GB of RAM for the server to run.
- The jammsen Docker image lists 8 GB or more and 2 to 4 cores at a mid clock as the minimum for 2 to 4 players, and recommends 16 GB or more with 4 or more high clock cores for four players. For disk it asks for 12 GB or more, and 20 GB or more on an SSD.
Both run the Windows server through Wine, which adds some overhead, so treat 8 GB as the floor and not the target. A group of six to eight with a large base will want more room. We have not measured the server on our own hardware yet, so watch memory use during your first sessions and move up a size if the machine starts swapping.
Install it on Windows with SteamCMD
The official route is Windows. You can install the server from the Tools section of your Steam library, or anonymously with SteamCMD, so no Steam account or game copy is needed on the server:
steamcmd.exe +force_install_dir "c:/sons-dedicated/" +login anonymous +app_update 2465200 validate +quit
Run the same command again to update the server after a patch. Start it with StartSOTFDedicated.bat in the install folder.
On the first start the server creates its files in the user data folder:
- the server settings in
dedicatedserver.cfg - the server owners in
ownerswhitelist.txt - the saves in a folder called
Saves - the logs, if you turn them on
By default that folder is C:\Users\<user>\AppData\LocalLow\Endnight\SonsOfTheForestDS. Start the server with -userdatapath "c:/path/to/folder" to keep it somewhere else, for example on a disk you back up.
Run it on a Linux VPS
Endnight only ships a Windows server, but it runs on Linux through Wine. You do not have to set up Wine yourself, because two maintained setups do it for you:
- Docker. The jammsen image runs the server in a container. The compose file maps the three UDP ports, and the config ends up in
game/userdata/dedicatedserver.cfgnext to your compose file. - Pelican or Pterodactyl. The Pelican egg uses a Wine image and takes your settings from the Startup tab: it passes most of them as start arguments and writes the server name and save slot into the config on every start. Its defaults are four players and the password
changeme, so change both before you invite anyone.
Whichever you pick, open the three ports in the firewall of the VPS. With ufw:
sudo ufw allow 8766/udp
sudo ufw allow 27016/udp
sudo ufw allow 9700/udp
Remember this route is community work, not something Endnight supports. When a game update breaks it, the fix comes from the maintainers of the image or the egg.
The self-test on every start
Every time the server boots it runs a self-test. If a test fails, the server does not start, and the console or log says exactly why: an invalid dedicatedserver.cfg, a value outside its allowed range, no public IPv4 address from Steam, or a closed UDP port.
The network part of that test can be skipped with "SkipNetworkAccessibilityTest": true. Endnight calls that an expert option and warns that a server that fails the test usually cannot be reached anyway. If your server starts but your friends cannot find it, read our guide on a Sons of the Forest server that does not show up.
The settings that matter
All settings live in dedicatedserver.cfg. These are the ones every group should check before the first session:
ServerName: the name in the server list and in Steam.Password: up to 40 characters. Players need it to join, but the server still shows in the list.MaxPlayers: 1 to 8.GameMode:normal,hard,hardsurvival,peaceful,creativeorcustom. It only counts when a new save is created.SaveSlotandSaveMode: which save the server loads, and whether it continues it or starts over.GameSettings: tree regrowth when you sleep (Gameplay.TreeRegrowth) and whether buildings can be damaged (Structure.Damage).
Be careful with SaveMode. With continue the server loads the save on your slot, or creates it if it does not exist yet. With new it creates a new game on that slot and overwrites what was there, and it does that again on every restart for as long as the setting stays on new. Set it back to continue straight after your new world has been created.
Every key, with its allowed values and the custom game mode options, is in Sons of the Forest dedicated server settings explained.
Our free Sons of the Forest config generator writes a valid dedicatedserver.cfg with these settings in your browser, so a typo cannot stop the server.
Make yourself the server owner
To manage the server from inside the game, put the SteamID64 of every owner in ownerswhitelist.txt, one per line. You find yours under Account Details in Steam. Owners get the in-game admin panel (Pause Menu, then Players), where they can make other players admin, kick, ban and unban. Owners have the same rights as the host of a normal co-op game, so only add people you trust.
Saves, backups and updates
The server keeps its saves inside the user data folder. On a running server they sit in Saves/DedicatedServer/Multiplayer/, in a folder named after the save slot with ten digits, so slot 1 is 0000000001. Inside is the world as a SaveData.zip file plus a thumbnail.
- Back up that folder before every game update and before you touch
SaveModeorSaveSlot. Keep a few copies, not just the latest. - Update the server before your group joins after a patch, so the server and the players run the same version.
- Bring your co-op world along. You can move the save from the host's PC to the server. Our guide on how to move a Sons of the Forest save to a dedicated server covers the folders, the slot number and what does not carry over.
Hosting Sons of the Forest with Space-Node
Our Sons of the Forest server hosting runs the Windows server through Wine on Linux, set up for you. Plans run from 8 GB of RAM for €10.20 a month to 16 GB for €20.50, every plan holds the game's 8 players and includes DDoS protection, and you can upload the co-op save you already play. Server name, max players, password, game mode and save slot are in the Startup tab of the panel; everything else is in dedicatedserver.cfg, which the config generator builds for you.
Would you rather install it yourself? A VPS with root access works too, with the Docker image or the egg from this guide; the Standard VPS-M with 8 GB costs €8.99 a month in our EU data center. If you want to talk it through first, contact us; support answers from 08:00 to 20:00 UTC.
FAQ
Can friends play when the host is offline?
Not in co-op, because the world runs inside the host's game and closes when they quit. On a dedicated server, yes. The server runs on its own machine, and anyone who knows the server name and the password can join at any time. The person who set it up does not need to be online.
How do I make the server private?
Set Password in dedicatedserver.cfg to something of up to 40 characters and restart the server. On our servers, use the Password field in the Startup tab. The server stays in the dedicated server list, but nobody can join without the password. LanOnly on true takes it off the internet listing, but then only players on your local network can join.
How much RAM does a Sons of the Forest dedicated server need?
Endnight publishes no requirement. The Pelican egg says the server needs at least 8 GB of RAM, and the jammsen Docker image lists 8 GB for 2 to 4 players and recommends 16 GB. Plan for 8 GB as the minimum and more for a full group with a big base.
Can a Sons of the Forest dedicated server run on Linux?
Not natively. Endnight only ships a Windows server. It runs on Linux through Wine, and the jammsen Docker image and the Pelican egg both set that up for you. That route is maintained by the community, not by Endnight.
How many players can join a Sons of the Forest server?
Up to eight. MaxPlayers accepts a value from 1 to 8.
Which ports does a Sons of the Forest server use?
Three UDP ports: 8766 for the game, 27016 for the Steam query and 9700 for BlobSync. You can change all three in dedicatedserver.cfg, as long as the firewall and any port forwarding match.
Does the island keep running when nobody is online?
The server stays online, but by default time stands still while it is empty, because IdleDayCycleSpeed is 0. Set it to a value up to 1 if you want days to pass while nobody plays.
Sources
All opened on 26 November 2026:
- Endnight Games on Steam: Sons of the Forest dedicated server guide (posted 23 June 2023, updated 15 January 2025; the default
dedicatedserver.cfg,Password,LanOnly, the idle settings,SaveInterval, the ports and the self-test) - jammsen: Docker image for the Sons of the Forest dedicated server (minimum and recommended CPU, RAM and disk)
- Pelican eggs: Sons of the Forest egg (the 8 GB minimum and the default ports)
- Valve Developer Community: SteamCMD
- Space-Node: Sons of the Forest hosting (plans, prices, delivery time and the Startup tab) and VPS hosting (VPS-M and the Premium line)