Guide
16 min readAug 03, 2026

Terraria Server Hosting: Free, VPS & Modded Guide (2026)

Compare free, home-PC, and VPS Terraria hosting, size a vanilla or Calamity server, upload a world, open port 7777, and keep friends online 24/7.

Quick answer

Terraria server hosting runs a dedicated world independently from the player who created it. Host & Play is free and fast, but the world closes when that PC leaves and borrows the host’s CPU and upload. Free browser hosts can add sleep timers, queues, version locks, or mod ceilings. A small VPS replaces those pain points with a 24/7 public address, full world-file access, automatic restarts, and exact control over vanilla, tModLoader, and Calamity. Start with 2 GB RAM for a small vanilla group, 4 GB for tModLoader, or 6–8 GB for Calamity and larger mod lists.

What is Terraria server hosting?

Terraria server hosting runs a multiplayer world on a separate process so friends can join by IP instead of waiting for one player to open Host & Play. The official dedicated server software is free; the decision is where that process runs and who keeps it online.

Host & Play

The quickest free session for a few friends when the world owner is already playing.

The world closes when the host exits and shares that PC’s game, CPU, memory, and upload.

Dedicated server on a home PC

The official Terraria server runs separately from the game and can load an existing world.

The machine must stay awake, the home connection must accept players, and the server still depends on residential power and upload.

Dedicated server on a VPS

A small cloud server runs the same official software on a public, always-on machine.

Friends get one stable address while the owner keeps full file, version, mod, restart, and backup control.

Free Terraria server hosting vs a paid VPS

Free Terraria server hosting is useful for a test, but the real cost is availability and control. If friends need a 24/7 world, exact versions, a Calamity server, or downloadable backups, a small VPS is usually the clearer long-term purchase than waiting through sleep timers or keeping a gaming PC on.

Hosting optionCost modelWorld availabilityControlBest fit
Host & Play$0 hosting billOnly while the host is in TerrariaIn-game world and password settingsA short vanilla session
Free third-party host$0 plan where availableOften pauses, sleeps, queues, or needs renewalDepends on the host’s version, RAM, and mod rulesTesting before a group commits
Home dedicated serverExisting PC, power, and home internetAs long as that machine and connection stay onlineFull local files and server configurationOwners with spare hardware and router access
VPS dedicated serverUsually about $5–$15/month to startIndependent from every player’s PCRoot access, exact builds, services, backups, and mods24/7 worlds, tModLoader, Calamity, and growing groups

Why move Terraria hosting to a VPS?

A VPS does not change the Terraria world format. It changes who carries the operational burden: the server remains online independently, owns a public address, and gives the owner the operating-system control needed for vanilla, tModLoader, Calamity, scheduled backups, and automatic restarts.

Host & Play ends when one player leaves

A VPS keeps the same world available to the group even when its owner is offline or playing another game.

A home PC shares performance and upload

Dedicated CPU, memory, storage, and data-center networking separate server work from the owner’s Terraria client.

Free plans may sleep, queue, or restrict builds

Root access lets the owner choose the Terraria or tModLoader release, schedule restarts, and keep every world and mod file.

Residential hosting adds port forwarding and changing IPs

A VPS supplies a public address directly, so players join one stable IP and port without depending on the home router.

Terraria server requirements: CPU, RAM, and storage

Terraria is light compared with many game servers, but modded world generation and busy boss events still benefit from fast CPU cores. Treat these as practical starting allocations, then size from peak memory, CPU saturation, player count, and the actual mod list.

WorkloadCPURAMStorageWhy this size
Vanilla, 2–8 players1–2 fast vCPUs2 GB10–20 GB SSDA practical small-world starting point with room for the OS and backups.
Vanilla, 8–16 players2 fast vCPUs2–4 GB20 GB SSDAdd headroom for a large world, frequent exploration, and simultaneous players.
tModLoader or light mod list2–3 fast vCPUs4 GB25+ GB SSDA sensible baseline for server files, mod data, logs, and several restore points.
Calamity or a larger modpack3–4 fast vCPUs6–8 GB30+ GB SSDExtra memory and faster cores help during world generation, boss fights, and mod updates.

How to set up a Terraria dedicated server on a VPS

The official Terraria server files can create a world interactively or load a fixed serverconfig.txt. A configuration file is the better 24/7 route because the same world, port, password, and player limit return after every restart.

1

Choose CPU, RAM, storage, and region

Use 2 GB RAM for a small vanilla world, 4 GB for tModLoader, or 6–8 GB for Calamity and larger mod lists. Prefer fast CPU cores, SSD storage, and a region near the players.

2

Deploy Linux with a dedicated server user

Create an Ubuntu or Debian VPS, update its packages, add a non-root terraria user, and keep the game files in a directory that user owns. This separates the service from system administration.

3

Download the official dedicated server

Get the current dedicated-server package from Terraria’s official site, extract the Linux files into the server directory, and give the included TerrariaServer launcher execute permission.

4

Create serverconfig.txt and select a world

Set world= to the full .wld path, then define maxplayers, port=7777, password, and motd. A fixed configuration makes every restart load the same world without console prompts.

5

Allow Terraria port 7777

Allow inbound TCP 7777 through the VPS operating-system firewall and the provider firewall. Terraria uses TCP port 7777 by default, and players connect to the VPS public IP plus that port.

6

Run the server as a persistent service

Launch TerrariaServer with -config serverconfig.txt through systemd, tmux, screen, or Docker. A service with automatic restart keeps the world independent from the administrator’s SSH session.

7

Join by IP and save a clean backup

In Terraria, choose Multiplayer, Join via IP, enter the VPS public address and port 7777, then confirm players and the world load correctly. Stop the server cleanly and save a first known-good world backup.

Minimal serverconfig.txt

world=/home/terraria/.local/share/Terraria/Worlds/adventure.wld
maxplayers=8
port=7777
password=replace-this-password
motd=Welcome to our Terraria world

Launch with the saved configuration

chmod u+x TerrariaServer*
./TerrariaServer -config serverconfig.txt

Upload, send, or move a Terraria world file

A hosted world remains portable. The essential file is the .wld save, and serverconfig.txt should point at that exact file. Move it only after the old host exits cleanly so the uploaded copy contains the latest world state.

Upload an existing world

Stop the server, copy the complete .wld file, set world= to its absolute path in serverconfig.txt, then start the process. Keep a pre-migration copy until every player and chest is confirmed.

Know the world directories

Windows normally uses Documents\My Games\Terraria\Worlds. Linux normally uses ~/.local/share/Terraria/Worlds, while tModLoader keeps modded worlds below its ModLoader data directory.

Send a world file safely

Close the world cleanly before copying it, transfer the .wld file over SFTP, and avoid moving only a temporary backup. On tModLoader, keep the matching mod-world data beside the world.

Terraria modded server hosting for tModLoader and Calamity

A modded Terraria server should run tModLoader’s server workflow rather than the vanilla binary. Full VPS access is valuable here because the owner controls the loader branch, Workshop mod manifest, world files, startup command, logs, and restart policy in one place.

Install the official server utility

Use tModLoader’s DedicatedServerUtils management script, SteamCMD route, or maintained Docker files rather than mixing a vanilla binary with client-only mods.

Move the exact modpack manifest

Export install.txt and enabled.json from the group’s tModLoader mod pack. The server and every player should run the same tModLoader branch, mod releases, and dependencies.

Give Calamity enough headroom

Start a Calamity server around 6 GB RAM when the list includes several content and quality-of-life mods, then watch peak memory and CPU during world generation and boss events.

Make restarts repeatable

Set the world, mod path, port, password, and max players in configuration, then run the process through systemd or Docker with an automatic restart policy.

Best Terraria server hosting VPS options

Choose Vultr first when broad region coverage and a straightforward general-purpose cloud are the main decision. Choose DMIT when China and Asia-Pacific routing is more important for the group. Both provide the operating-system control required for vanilla Terraria, tModLoader, Calamity, SFTP world transfers, and persistent services.

Best default for most groups
New users get $300

Vultr

  • Founded in 2014 with more than 80 million cloud servers launched
  • 33 global cloud data center regions for placing the world near players
  • SOC 2 Type II and ISO/IEC 27001 compliance artifacts
  • Public platform status and incident history
Best for China and APAC routes

DMIT

  • Self-operated network with up to 7.6 Tbps of aggregate Tier 1 capacity
  • Direct peering with China Telecom, China Unicom, and China Mobile International
  • Current cloud instances advertise AMD EPYC processors and NVMe storage
  • Los Angeles, Hong Kong, and Tokyo locations support regional deployment

Terraria server hosting troubleshooting

Separate startup, world-path, version, resource, and network symptoms. That keeps a healthy server configuration intact while the failed layer is corrected.

Finding server, then losing connection

Confirm the server finished loading the world, the client and server builds match, and the game process is listening on the configured port. For a VPS, allow TCP 7777 in both the operating-system and cloud firewalls.

Friends cannot join by IP

Use the VPS public IPv4 address plus the configured port. Do not send a private 192.168.x.x address, and do not bind the Terraria process only to localhost.

The server creates a new world

Point world= to the full .wld filename, not only its directory. Check capitalization and service-user permissions, then restart after the path is saved.

A modded server will not start

Read the first fatal line in the server log. Match tModLoader, Terraria, every enabled mod, and all dependencies; remove client-only mods from the server set.

The server keeps hanging

Inspect CPU and memory while the freeze happens, reduce unnecessary mod load, and move to faster cores or more RAM when the process remains saturated during world generation or busy events.

Players see lag despite a healthy process

Choose a region closer to the group, keep the world on SSD storage, and avoid running backups or large updates during active play. Network distance and a busy CPU can feel similar in game.

Terraria server hosting FAQ

Short answers about free hosting, cost, RAM, port 7777, 24/7 uptime, Host & Play, modded servers, world files, player limits, and crossplay.

Share this article