Free hosting
Minecraft JavaMinecraft BedrockPaperMCFabricForgeGeyserMCTerrariaFactorioETS2DSTUnturnedHytaleDiscord botsRLCraftCobblemonBetter MCCreateMinecraft IndiaAll modpacks
Go premium

No hibernation, no timers, 5 GHz CPUs and up to 32 GB RAM.

From €1.99/month →
Tools & help
RAM calculatorMOTD generatorServer status checkerserver.properties generatorColor codesServer icon makerDiscord permissionsAll free toolsGuidesDiscord community
Language
EnglishNederlandsEspañolFrançaisDeutschItalianoPortuguêsLatviešuPolskiSuomiNorskRomânăPortuguês (BR)Türkçeहिन्दीBahasa IndonesiaالعربيةTiếng Việt
Start free
Don't Starve Together

How to Make a Don't Starve Together Server (Free, Caves & Mods)

Step-by-step guide to creating a free Don't Starve Together dedicated server with Surface + Caves, a free Klei Cluster Token, and Steam Workshop mods.

Updated 3 December 2026 · 6 min read
Don't Starve Together multiplayer camp and ocean raft on a dedicated server

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

  1. Generate a free Klei Cluster Token at accounts.klei.com (Games → Game Servers → Add New Server).
  2. Create a free DST server at FreeGameHost (EU or US) and paste your token in DST Mods & Config.
  3. 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#

RequirementDetails
Game copyPlayers need Don't Starve Together on Steam (the dedicated server itself is free via App ID 343050).
Klei Cluster TokenRequired 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#

  1. Sign in to Klei

    Visit accounts.klei.com/account/game/servers and log in with Steam or your Klei account.

  2. 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^).

  3. 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)#

  1. 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).

  2. 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_...).

  3. 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:

  1. 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.

  2. Automatic dual-shard sync

    Our panel updates mods/dedicated_server_mods_setup.lua plus both Master/modoverrides.lua and Caves/modoverrides.lua automatically. 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).