Yes. With two DNS records, players can join with play.yourdomain.com instead of 123.45.67.89:25571, with no port to remember. You set these up wherever you manage your domain's DNS, for example Cloudflare, Namecheap or GoDaddy.
Don't have a domain? Use a free subdomain instead. Open Subdomains in the Utilities folder on the panel sidebar and create one. There's no DNS to set up.
This points a name at your server's IP.
| Field | Value |
|---|---|
| Type | A |
| Name | mc (this makes mc.yourdomain.com) |
| Value / IPv4 address | Your server's IP, for example 123.45.67.89 |
| Proxy (Cloudflare only) | Off ("DNS only", grey cloud) |
This tells Minecraft which port to use, so players don't have to type it.
| Field | Value |
|---|---|
| Type | SRV |
| Name | _minecraft._tcp.play (this makes play.yourdomain.com) |
| Priority | 0 |
| Weight | 5 |
| Port | Your server's port, for example 25571 |
| Target | mc.yourdomain.com (the A record from step 1) |
Some DNS providers split the name into separate boxes: Service _minecraft, Protocol _tcp, Name play.
DNS changes can take from a few minutes up to a few hours. Then add play.yourdomain.com in Minecraft's Multiplayer menu, with no port.
mc.yourdomain.com:25571 but not play.yourdomain.com. The SRV record has a typo. Check the name and the port.mc.yourdomain.com and type the port separately.play and you're done.