Summary
Creating An SRV record simplifies the connection process for players accessing a Minecraft server through a custom domain name. By defining the hostname and port of the server, players can access it with ease. The guide below will walk server admins through setting up an SRV record using the cPanel. Creating an SRV record in cPanel ensures your Minecraft server is effortlessly accessible. For servers with a dedicated IP, go here to create an A record instead.
Note | In order to connect to your server using your domain, or a subdomain you want you will have to create an SRV Record. Please note that this is only if your server does not have a dedicated IP. If your server does have a dedicated IP like our Premium Minecraft Servers or Budget Servers with a dedicated IP addon you will have to create an A record instead. Please see that tutorial here. Please keep in mind that after this tutorial it might take a while to start working due to DNS needing to update. |
How to create an SRV record for Minecraft in cPanel:
1. Log in to cPanel.
2. Under the Domains category, select Zone Editor.
3. Next to any domain, click +A Record button.
4. Enter your subdomain of choice (in this example we'll be pointing play.myawesomeserver.com to our server's IP).
5. Enter your 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 subdomain you want along with the protocol/service. In our case, it’s _minecraft._tcp. (it will autofill the rest of the domain once you go to the next text box). If you want to use yourdomain.com without a subdomain, just enter: _minecraft._tcp.
TTL: Use 14400. You can also use any other values if you know exactly what this is, and how to use it.
Priority: Use 0. You can also use any other values if you know exactly what this is, and how to use it.
Weight: Use 5. You can also use any other values if you know exactly what this is, and how to use it.
Port: This should be the port your server is running on. (ie., 25586, 25598, etc.)
Target: Enter play.myawesomeserver.com (this will be the same as what you created in step 4)
10. Click Add Record.