In May 2011, a team of four de­velopers using the name Re-Logic released the first version of the sandbox game Terraria for Windows users on Steam. Ten years later, the game is also available for Linux and Mac, Play­Sta­tion, XboX, iOS, Android, and Nintendo devices. If you want to explore the randomly generated game world with other players, it’s best to create your own Terraria server. Find out how this works in this guide and why rented hardware is the best solution.

Free Cloud Server Trial
En­ter­prise-grade virtual private servers
  • KVM based dev servers for de­velopers
  • Scalable to en­ter­prise cloud level
  • Pay-as-you-go, per-minute billing

Terraria server: Hosting on your own PC or with a provider?

If you want to play Terraria online with other users, you have two options. You can use the ‘Host & Play’ feature in the Terraria client to host your own online game on your device. Other players can then join the world either with or without a password. If you quit the game, however, the server will auto­mat­ic­ally end the session. If you want to prevent this, you have to go for option number two and run Terraria’s dedicated server software. As long as this ap­plic­a­tion is running, you and other players can connect to the Terraria server via the ‘Join via IP’ item in the game client.

The­or­et­ic­ally, you can run a dedicated server software on your home PC as well. However, for con­tinu­ously operating the Terraria server, this device would have to run around the clock, which results in high elec­tri­city costs. The main­ten­ance of the hardware would be your re­spons­ib­il­ity, too. In addition, a stable and powerful Internet con­nec­tion is essential to provide all players with the smoothest possible gaming ex­per­i­ence. The simpler and more con­veni­ent al­tern­at­ive is to put Terraria server hosting in the hands of a provider who will take care of all the ele­ment­ary points, such as the avail­ab­il­ity, main­ten­ance, and per­form­ance of the Terraria server.

What are the system re­quire­ments for a Terraria server?

The hardware re­quire­ments for a Terraria server are - un­sur­pris­ingly due to the 2D look - re­l­at­ively minimal. The RAM is important, though. The de­velopers give a starting value of 512 MB for a small game world with a few players and no modi­fic­a­tions. For larger worlds, you should have at least 1 GB or 2 GB (10 players or more) ready. If you plan to host a Terraria server for more than 50 players, however, 4 GB or more is re­com­men­ded. In addition, there are the main memory re­quire­ments of the operating system - for Windows Server 2016, for example, this would be 512 MB or 2 GB of RAM (without or with graphical user interface, re­spect­ively).

CPU and hard drive space don’t really play a role in Terraria server hosting. A processor with 2 GHz should give a single server instance the necessary computing power. As far as disk space is concerned, it is suf­fi­cient to have a few gigabytes available in order to have enough space for user data in the long run. In addition, there would also be the resource re­quire­ments of the operating system in this case - so for the Windows system mentioned, which we also use in the following tutorial, an ad­di­tion­al 32 GB of hard disk space and a 1.4 GHz processor (64-bit) would have to be planned.

Note

The world of Terraria doesn’t strain the Internet con­nec­tion as much as com­par­able 3D mul­ti­play­er games - nev­er­the­less, con­nec­tions in private house­holds are often not as good as rented ones. The available upstream in par­tic­u­lar may causes unwanted lags: Classic DSL 16,000 packages, for example, often only offer between 1 and 2 Mbit/s upload speed!

Terraria server hosting with IONOS: What are the options?

Renting resources for your own Terraria server means that you are not only much more flexible - for example, should you no longer need the server or want to shut it down tem­por­ar­ily, but you also save money if you don’t have to buy and maintain the hardware for your own server yourself and pay the incurred elec­tri­city bill!

The right package for you for your server hardware varies from provider to provider. At IONOS, for example, you can choose between the following three solutions:

For Terraria server hosting, the first two options are re­com­men­ded, both of which are based on vir­tu­al­ised hardware resources. The dif­fer­ence is that with a vServer, you rent a fixed hardware setup for a fixed monthly price, while with a Cloud Server you can ramp up or down the computing power at any time and only pay for what you actually use. A dedicated server gives you access to dedicated hardware that is reserved es­pe­cially for you. For a Terraria server you don’t need this level of server, but if you are also planning other more computer-intensive game servers and want to host, for example, a Minecraft server or a Rust server, you’ll be perfectly equipped with a dedicated server.

Note

IONOS guar­an­tees an external broadband con­nec­tion of the server with up to 400 Mbit/s - re­gard­less of the chosen server model.

We have sum­mar­ised three possible scenarios for your own Terraria server including suitable packages for vServer and dedicated server at IONOS for you:

Β ReΒ­comΒ­menΒ­ded vServerΒ ReΒ­comΒ­menΒ­ded Dedicated Server
Small game world, 2-5 players, no modiΒ­ficΒ­aΒ­tionsVirtual Server Cloud L (VPS L)Β Dedicated Server L-16 HDD
Large game world, 50+ players, modiΒ­ficΒ­aΒ­tionsVirtual Server Cloud RAM M (VPS M RAM)Β Dedicated Server AR6-32 HDD
Large game world, 100-255 players, modiΒ­ficΒ­aΒ­tionsVirtual Server Cloud RAM L (VPS L RAM)Β Dedicated Server AR6-32 HDD
Tip

Start your Terraria server adventure today - with a fully scalable cloud server from IONOS. And if required, you can op­tion­ally register your own domain in addition easily and con­veni­ently!

Creating a Terraria server: Step-by-Step tutorial (Windows Server)

Have you found the right solution for your Terraria server hosting? Then you can get started! In the following in­struc­tions we will show you how to set up a Terraria server based on Windows Server 2016 as an IONOS customer (vServer, Cloud Server, Dedicated Server).

Step 1: Establish remote con­nec­tion to the server

The first step is to connect to the server. As an IONOS customer, you can con­veni­ently set up the remote con­nec­tion required for this via the Cloud Panel. To do this, log in with your in­di­vidu­al in­form­a­tion via the Login page and open the ‘Server & Cloud’ category.

Select the server on which you would like to install the Terraria server software and click on the download link under the ‘Access data’ heading at the ‘Remote Desktop con­nec­tion’ entry:

Confirm opening the file using the standard Remote Desktop Con­nec­tion ap­plic­a­tion by pressing OK. Al­tern­at­ively, you can save the .rdp file locally and then double-click to launch it. To establish the con­nec­tion to the Terraria server, you will now be prompted to enter your cre­den­tials. Provided you have not yet defined your own settings for the account, you will find the username and initial password in the cre­den­tials in the Cloud Panel.

Note

The first time you connect to your Terraria server, the operating system will display a security warning. The reason for this is that the server’s security cer­ti­fic­ate is not yet trusted.

Step 2: Install Terraria server via Steam-Client

The server ap­plic­a­tion for Terraria installs auto­mat­ic­ally when you install the game. We got the 2D game via Steam, where you can con­veni­ently download the game and server from the library by clicking on the Terraria entry after purchase and starting the download via the button.

Step 3: Install Microsoft XNA Framework

If you have not already installed it on your server, the next step is to download and install the latest version of the Microsoft XNA framework. The framework contains the necessary runtime com­pon­ents to run a Terraria server. You can get the files for the in­stall­a­tion directly from the Microsoft website.

Step 4: Con­fig­ur­a­tion of the own Terraria server

After in­stall­a­tion - the default directory is C:\Program Files (x86)\Steam\apps\common\Terraria - the following four files are relevant for the man­age­ment and later start of the Terraria server:

  • Ter­rari­aServ­er.exe: Main file for Terraria server; can be run stan­dalone
  • server­con­fig.txt: con­fig­ur­a­tion file where you can define all important para­met­ers of your own Terraria server
  • start-server.bat: Batch file, which can be used to start the server based on server­con­fig.txt; contains a loopback to restart the server auto­mat­ic­ally after a crash
  • start-server-steam-friends.bat: BAT file to start a server based on the ‘host & play’ function via console; allows in­ter­ac­tion with Steam friends

Even before the first start you can define the basic setup of your Terraria server in the server­con­fig.txt. You can open the text file with any editor - the possible settings include the name and password of the server, the desired maximum number of players, the dif­fi­culty level or the server language. You can find a detailed list in the section ‘Server config file’ in the official Terraria Wiki.

Free VPS Trial
Try a virtual server risk-free for 30 days

Try out your VPS for 30 days. If you're not satisfied, we'll fully reimburse you.

Step 5: Enable TCP/UDP-Port 7777

To allow users to access your server, you also need to enable TCP and UDP port 7777. The Terraria server ap­plic­a­tion uses both network ports for com­mu­nic­a­tion purposes. So unlock both ports in the firewall before starting the server.

IONOS customers can con­veni­ently enable the two ports from the Cloud Panel: Go to the ‘Server & Cloud’ menu again and select your Terraria server hosting setup. In the left side menu, then press ‘Network’ and ‘Firewall Policies’ one after the other. Select the server and enter the ports under ‘Incoming’ with the following entry:

  • Allowed IP: all (just leave the field blank for this).
  • Protocol: TCP/UDP
  • Port(s): 7777
  • De­scrip­tion: in­di­vidu­al de­scrip­tion of the port release

Click on ‘Add rule’ to start the port sharing process, which may take a few minutes.

Step 6: Start Terraria server

As soon as the ports are enabled you can start your Terraria server (In the firewall policies in the Cloud Panel you can see whether the release process is still in progress or already completed under ‘Status’). The simplest solution for this is to use the batch file named start-server.bat mentioned earlier. So navigate to the Terraria directory and start the batch file and thus also the server by double-clicking on it.

If you have not yet entered important in­form­a­tion, such as the dif­fi­culty level or the name of the game world, in the con­fig­ur­a­tion file, the command line will now ask you for this in­form­a­tion. Then the creation of the server starts, which can take a few minutes depending on the size and seed. If the process was suc­cess­ful, the command prompt will display a success message.

Step 7: Connect to the server

If you or your friends want to connect to the new Terraria server, the following steps are required:

  1. Start Terraria.
  2. Click on ‘Mul­ti­play­er’.
  3. Select the option ‘Join via IP’ and an avatar.
  4. Type the IP address of your server (with :7777 appended for the port).
  5. Press ‘Accept’.
  6. Enter the server password, if you have one assigned.

Once the con­nec­tion to the server is es­tab­lished, your custom Terraria adventure can finally begin!

Tip: .gg Domain

Make a statement with your own .gg domain and let the games begin. Register your own .gg domain now with IONOS.

Domain Checker
Go to Main Menu