Connect a Custom Domain (A & SRV Record)
Link a domain name (e.g. play.mydomain.com) to your server so players don't have to type the port number (e.g. :25585).
1. Create an A Record in your DNS
Log into your domain provider (GoDaddy, Namecheap, Cloudflare, etc.) and open DNS management. Create an A record pointing to your server's numeric IP (without the port).
Type: A
Name: play (or @ for main domain)
Value: [Server IP, e.g. 135.125.4.12]
TTL: 36002. Create the SRV Record
Since your Minecraft server uses a non-standard port (e.g. 25585 instead of standard 25565), you need an SRV record. This tells the Minecraft client what port to connect to.
Type: SRV
Name: _minecraft._tcp.play (or _minecraft._tcp if you used @)
Priority: 0
Weight: 5
Port: [Your server port, e.g. 25585]
Target: play.mydomain.com
TTL: 36003. DNS Propagation
Wait 10 to 60 minutes for the DNS changes to apply worldwide. You will then be able to connect using 'play.mydomain.com' without typing the port!
Still stuck?
Tell support what you already tried so we can help faster.
