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=MyWorldImportant Notes
| Behavior | Detail |
|---|---|
| Case-sensitive on Linux | MyWorld and myworld are different worlds |
| No spaces in some setups | Underscores or CamelCase are safer than spaces |
| Renaming creates a new world | If you change the world name and the new name doesn't match an existing .wld file, Terraria generates a fresh world |
| Existing worlds preserved | Your 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:
- Stop the server
- Change
worldnameto a different value (e.g.,Hardcoreinstead ofCasual) - Start the server — Terraria loads (or generates) the world with that name
- Switch back later by changing the name again
Related Guides
How is this guide?

How to Change Max Players on Your Terraria Server
Set the player limit on your Terraria dedicated server using maxplayers in serverconfig.txt.
How to Configure Your Terraria Server (serverconfig.txt)
Complete Terraria serverconfig.txt reference — world settings, password, difficulty, max players, and tModLoader.