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.

What you need

1. Add an A record

This points a name at your server's IP.

FieldValue
TypeA
Namemc (this makes mc.yourdomain.com)
Value / IPv4 addressYour server's IP, for example 123.45.67.89
Proxy (Cloudflare only)Off ("DNS only", grey cloud)

2. Add an SRV record

This tells Minecraft which port to use, so players don't have to type it.

FieldValue
TypeSRV
Name_minecraft._tcp.play (this makes play.yourdomain.com)
Priority0
Weight5
PortYour server's port, for example 25571
Targetmc.yourdomain.com (the A record from step 1)

Some DNS providers split the name into separate boxes: Service _minecraft, Protocol _tcp, Name play.

3. Test it

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.

Common problems