Blog

How to host a Terraria server

JSJesse Schokker·July 22, 2026·5 min read
How to host a Terraria server
DemandVery lightAmong the lightest dedicated servers in use.
Not on Steam toolsDirect downloadFrom Terraria’s own site.
WorldA single fileBacking up is genuinely trivial.
Fixed at creationSize, difficultyNot changeable later.

Terraria is among the lightest dedicated servers in common use, and a small machine will run a full world for a group of friends without complaint. Modded servers ask for meaningfully more, particularly with large content mods, but it is still modest compared with any 3D survival game.

How to install it

  1. Decide vanilla or modded first. The vanilla server comes from Terraria’s own site; tModLoader is a separate application. They are not interchangeable later.
  2. Download and unpack it into its own folder. There is no installer.
  3. Run it once. It will walk you through creating a world interactively — size, difficulty and seed — on the command line.
  4. Note the world file location, then stop the server and switch to the config file so it starts unattended next time.
# Dedicated server zip from terraria.org
unzip terraria-server.zip -d /home/terraria
cd /home/terraria/Linux && chmod +x TerrariaServer.bin.x86_64

# First run: answer the prompts to create a world.
./TerrariaServer.bin.x86_64

# After that, start unattended from your config:
./TerrariaServer.bin.x86_64 -config serverconfig.txt

How to configure it

serverconfig.txtworld path, max players, port, password, message of the day
serverconfig.txt
world=/home/terraria/.local/share/Terraria/Worlds/myworld.wld
autocreate=2
worldname=My World
difficulty=1
maxplayers=8
port=7777
password=
motd=Welcome!
Why an unattended server hangs

If world points at a file that does not exist and autocreate is not set, the server does not error — it sits waiting for you to answer its questions on the console. Create the world once interactively, then point the config at the file it made.

  • Point the world setting at your world file and set autocreate, or the server will keep asking you questions interactively instead of just starting.
  • World size and difficulty are fixed at creation. They are not settings you can change later — pick deliberately.
  • Set a password if the server is public. Terraria has no account system to lean on.
  • For modded servers, the mod list is a separate file and every player needs the identical set.
The mistake almost everyone makes

Mismatched mod versions between server and players. tModLoader is strict about this, and the resulting error tends to send people looking for network problems that do not exist.

Written from experience running these servers. If something here no longer matches what you are seeing, tell us and we will recheck it.

Share this article

JS
Jesse SchokkerFounder & Engineer, GameDash

Building GameDash at Schokker IT — the game server control panel we always wished existed. Writes about infrastructure automation, the SDK and running game servers at scale.

Get early access

GameDash is not open for sign-ups yet. Leave your e-mail and we will tell you the moment it is. Your address is never shared with any 3rd parties and is used exclusively for GameDash news.