An SRV record simplifies the connection process for players by defining a Minecraft server's hostname and port, which allows access via a custom domain name. This defines the server's location and ensures an effortlessly accessible connection. The guide below will walk server admins through the process of setting up an SRV record using cPanel.
Note: This tutorial is only for servers without a dedicated IP. For servers with a dedicated IP add-on, learn how to create an A record here.
1. Log in to cPanel.
2. Under the Domains category, select Zone Editor.
3. Next to any domain, click +A Record button.
4. Enter the subdomain of choice. This example is pointing play.myawesomeserver.com to the server's IP).
5. Enter the server IP address.
6. Click Add An A Record.
7. Click on Manage.
8. Click Add "SRV" Record under the Add Record button.
9. Fill in the fields with the following information:
-
Name: Should be the desired subdomain along with the protocol/service. In this tutorial, it’s
_minecraft._tcp. It will autofill the rest of the domain after next text box. If yourdomain.com without a subdomain is desired, enter:_minecraft._tcp. -
TTL: Use
14400. Other values can be used if the user knows exactly what this is, and how to use it. -
Priority: Use
0. Other values can be used if the user knows exactly what this is, and how to use it. -
Weight: Use
5. Other values can be used if the user knows exactly what this is, and how to use it. -
Port: This should be the port the server is running on. (ie.,
25586,25598, etc.) -
Target: Enter
play.myawesomeserver.com(this will be the same from step 4)