In this tutorial, we will point your domain name to your Minecraft server using an SRV record. SRV records allow you to point the domain to an IP and a Port number.
1. Login to your Billing panel and go to Domains -> My Domains.
2. Click the Manage Domain icon on your domain.
3. On the left-hand side menu, click DNS Management. (If you don't see this option, please create a support ticket)
4. Click Manage A records under the DNS Management tab and then click Add A New A Record
5. For the hostname, enter minecraft, in the IPv4 Address textbox enter your servers IP Address (Without the port) and for the TTL, enter 14400 then click Add Record
6. Click Manage SRV Records under DNS Management tab.
7. Click Add A New SRV Record.
8. Now we have to enter the following details for the SRV record:
Service Record is the protocol/service followed by the subdomain. If you want to use play.example.com as your domain, enter _minecraft._tcp.play as the Service Record. If you want to just use example.com, then use _minecraft._tcp as the Service Record.
Full Target Name Enter minecraft.yourserver.com (Change yourserver.com for your domain name)
TTL should be 14400.
Pri should be 0.
Weight should be 5.
Port is the port number of your Minecraft server IP address.
9. Now click Add Record.
10. All done, you should see a confirmation message similar to below.
ISPs and DNS providers cache DNS records. It can take up to 24 hours for your ISP/DNS Providers to update the SRV record and for it to start working for everyone.