Want a server running in 60 seconds with Surface + Caves pre-wired? Use FreeGameHost's free Don't Starve Together hosting (2 GB RAM, 6 GB NVMe, built-in Workshop mod manager, no credit card).
Quick answer
- Generate a free Klei Cluster Token at
accounts.klei.com(Games → Game Servers → Add New Server). - Create a free DST server at FreeGameHost (EU or US) and paste your token in DST Mods & Config.
- Restart your cluster, open Don't Starve Together, search your cluster name in the server browser, and join both Surface and Caves.
What you need#
| Requirement | Details |
|---|---|
| Game copy | Players need Don't Starve Together on Steam (the dedicated server itself is free via App ID 343050). |
| Klei Cluster Token | Required for any online server. Free from accounts.klei.com. |
| RAM | ~800 MB–1.2 GB for 4–8 players with Surface + Caves; 4+ GB for heavy overhaul mods or large public worlds. |
| Disk space | ~4.2 GB for the base SteamCMD install plus saves and Workshop mods (FreeGameHost gives 6 GB NVMe free). |
Step 1: Get a free Klei Cluster Token#
- Sign in to Klei
Visit accounts.klei.com/account/game/servers and log in with Steam or your Klei account.
- Create a server token
Scroll to Add New Server, type any cluster name, and click Add New Server. Copy the generated token string (starts with
pds-g^). - Keep it private
Treat your cluster token like a password — anyone with it can register servers under your Klei account.
Option 1: Free 24/7 hosted server (recommended)#
- Create your server
Sign up free at panel.freegamehost.xyz, pick Don't Starve Together in Europe or North America, and paste your Klei token right on the creation form (or leave blank and add it right after).
- Configure world & admins
Open DST Mods & Config → Cluster & World Settings to set Survival/Endless/Wilderness mode, password, Pause When Empty, Caves toggle, and admin Klei IDs (
KU_...). - Join in-game
Wait until the console shows your cluster booted, then open Don't Starve Together → Browse Games and search your Cluster Name.
Enabling Caves & Steam Workshop mods#
In DST, Caves run as a second process (the Caves shard) bridged to the Master surface shard over localhost (127.0.0.1). On FreeGameHost, both shards and Caves/worldgenoverride.lua (DST_CAVE preset) are pre-wired automatically — no extra ports needed.
To install Workshop mods without hand-editing Lua:
- Open DST Mods & Config
Click + Add next to popular mods like Global Positions (
378160973), Wormhole Marks (362175979), or Insight (2189004162), or paste any Steam Workshop URL. - Automatic dual-shard sync
Our panel updates
mods/dedicated_server_mods_setup.luaplus bothMaster/modoverrides.luaandCaves/modoverrides.luaautomatically. Restart once to download and activate.
Option 2: Self-hosting with SteamCMD#
If you prefer running DST on your own Linux box, install SteamCMD and pull App ID 343050:
./steamcmd.sh +force_install_dir ~/dst +login anonymous +app_update 343050 validate +quit
Create cluster.ini, cluster_token.txt, Master/server.ini, and Caves/server.ini, forward UDP port 10999 on your router, and launch both dontstarve_dedicated_server_nullrenderer_x64 -shard Master and -shard Caves. Note that self-hosting requires leaving your PC powered on 24/7.
Common fixes & FAQ#
Why doesn't my DST server show up in the server browser?
99% of the time, cluster_token.txt is empty or expired. Open DST Mods & Config, paste a fresh token from accounts.klei.com, click Save, and restart.
My server works on the Surface, but sinkholes are plugged — why?
The Caves shard is turned off or hasn't finished booting. Make sure Enable Caves Shard is checked in DST Mods & Config and restart the server.
Need more than 2 GB RAM for a large modded community?
Check out Premium Don't Starve Together plans (4 GB to 32 GB RAM, 5 GHz CPUs, zero renewals, and 2 automatic offsite backups from €3.40/mo).