How to Make a TeamSpeak 3 Server – The Complete Guide

In this tutorial, we’ll show you how to set up a TeamSpeak 3 server on Linux, Windows, or Mac OS in a matter of minutes. If you need a reliable and lightweight tool to communicate with friends or colleagues, then creating a TeamSpeak 3 server is one of the top choices. By the end, you’ll know how to make a TeamSpeak 3 server on Windows, Mac OS, or a virtual server with Ubuntu 16.04 or CentOS 7.

How to Make a TeamSpeak 3 Server on Ubuntu 16.04

To begin, let’s see how we can set up a TeamSpeak 3 Server on a virtual server running Ubuntu 16.04.

Execute the ls command and you should see a similar screen if everything was done correctly:

Step 3 – Accept the TeamSpeak 3 license agreement

Since the release of TeamSpeak 3 server version 3.1.0, it is mandatory to accept a license agreement. The quickest way to do it is by typing the following command:

touch /home/teamspeak/.ts3server_license_accepted

This will create a new empty file called .ts3server_license_accepted, which will act as the license agreement.

Step 4 – Start TeamSpeak 3 server on boot

Now, it’s time to configure the TeamSpeak 3 server to start on server boot. To do it, we will need to create a file called teamspeak.service in /lib/systemd/system directory. The following command will do the trick:

Paste the content into the newly created file and save it. Next, we’ll have to activate the script and make it start on server boot.

systemctl enable teamspeak.service
systemctl start teamspeak.service

Double-check if it was added with:

systemctl | grep teamspeak.service

If the TS 3 server is running correctly, you will see the following result:

You may also check a detailed TeamSpeak 3 server status by executing:

service teamspeak status

Step 5 – Retrieve the privileged key

Since the TeamSpeak 3 server is now running, let’s get the last piece of the puzzle – the privileged key. You’ll need it to paste it when connecting to the server for the first time. You can view it with the following command:

cat /home/teamspeak/logs/ts3server_*

Step 6 – Connect via TeamSpeak 3 client

The last step is to connect to the newly created TS3 server and apply the privileged key. Use your dedicated VPS IP address when connecting.

You’ll then be immediately prompted to enter the token.

And that’s all! You’ve successfully created and connected to a TeamSpeak 3 server running on Ubuntu 16.04 VPS.

How to Make a TeamSpeak 3 Server on CentOS 7

Setting up a TeamSpeak 3 server on VPS running CentOS 7 is a fairly similar procedure. It can also be split into 6 steps. Start by accessing your VPS via SSH and updating the system:

yum -y update

Step 1 – Create a new system user

Begin by creating a dedicated user for the TeamSpeak 3 server. Execute the following:

adduser teamspeak

This will create the user and set its home directory to /home/teamspeak. Access it with:

Step 1 – Download and extract TeamSpeak 3 server

Step 2 – Run TeamSpeak 3 server installer

Open the extracted TS3 server files and run the ts3server.exe installer. You’ll be prompted to accept the license agreement and asked if the firewall should allow this software to operate. Once done, you will get the privileged key and other useful information.

Step 3 – Connect via TeamSpeak 3 client

Since the installer did all the work for us, the last step is connecting to the TS3 server. In case you’re not sure what IP address to use while connecting, open your Command Prompt and execute:

ipconfig

Look for IPv4 Address value. You will need to use it while connecting.

Lastly, you will need to paste in the privileged key to gain admin rights.

And that’s all there is to setting up a TeamSpeak 3 server on Windows!

How to Make a TeamSpeak 3 Server on Mac OS

It’s also possible to create a TeamSpeak 3 server on MacOS. The whole setup can be completed in 4 simple steps.

Step 2 – Accept the TeamSpeak 3 license agreement

Navigate to the extracted TeamSpeak 3 server files using the same terminal window. For example:

cd Downloads/teamspeak3-server_mac

Start the server by entering:

/.ts3server

Wait a few moments for the process to finish. On the screen, you will also see your privileged key:

Step 4 – Connect via TeamSpeak 3 client

You’re now ready to use the TeamSpeak 3 server. When connecting, use the IP shown in System Preferences › Network section.

Don’t forget to paste in the privileged key to gain server admin rights.

Congratulations! You’ve created a TeamSpeak 3 server and connected to it on Mac OS!

Bonus: How to Point a Domain to TeamSpeak 3 Server

Now that you know how to make a TeamSpeak 3 server, let’s see how the connection process can be simplified. In this part, you will learn how to point your existing domain using a subdomain to the TeamSpeak 3 server you just created. This is handy if you want to reach your server using a domain name instead of the long IP and port combination.

Step 1 – Create the subdomain using A record

Access Advanced -> DNS Zone Editor and look for a section called A (Host). There, create a subdomain and point it to the TeamSpeak 3 server via A record.

The Author

Domantas leads the content and SEO teams forward with fresh ideas and out of the box approaches. Armed with extensive SEO and marketing knowledge, he aims to spread the word of Hostinger to every corner of the world. During his free time, Domantas likes to hone his web development skills and travel to exotic places.

For the Ubuntu version of the instructions you also need to run a command to give the teamspeak user access to the folder where teamspeak is stored. In my case it was. sudo chown -R teamspeak:teamspeak /home/teamspeak