How to Change Your Terraria Server World Name

Set the world name on your Terraria dedicated server. Terraria identifies servers by world name, not a separate hostname.

Terraria doesn't have a separate "server name" or "hostname" like most multiplayer games. Instead, the world name doubles as the server identifier — it's what players see when they connect and what's used as the save file name.

Open Startup

In the XGamingServer Panel, click Startup in the sidebar.

Set the World Name

Find the World Name field and enter your desired name.

Restart

Restart from Console to apply.

Open serverconfig.txt

In Files, open serverconfig.txt.

Set worldname

worldname=MyWorld

Important Notes

BehaviorDetail
Case-sensitive on LinuxMyWorld and myworld are different worlds
No spaces in some setupsUnderscores or CamelCase are safer than spaces
Renaming creates a new worldIf you change the world name and the new name doesn't match an existing .wld file, Terraria generates a fresh world
Existing worlds preservedYour old world stays on disk — switch back by restoring the original name

Switching Between Worlds

Because the world name determines which save loads, you can host multiple worlds and swap between them by changing this setting:

  1. Stop the server
  2. Change worldname to a different value (e.g., Hardcore instead of Casual)
  3. Start the server — Terraria loads (or generates) the world with that name
  4. Switch back later by changing the name again

How is this guide?

40% Off — Limited TimeGet your Terraria server todayInstant setup, DDoS protection, and 24/7 support included.
Get a Server

On this page