Pointing your own domain at your server

Networking & Proxies Reviewed September 6, 2026 1 min read

play.yourserver.com is two DNS records away. One points the name at the server; the other hides the port so nobody has to type it.

The records you need

TypeNameValue
AplayThe server's IP address, exactly as the panel shows it.
SRV_minecraft._tcp.playPriority 0, weight 5, port from the panel, target play.yourserver.com.

What to do

  1. Create the A record first

    In your registrar's DNS settings. Name it play — most panels append your domain automatically, so you type the subdomain only, not the whole thing.

  2. Add the SRV record

    This is what removes the port. The service is _minecraft, the protocol _tcp, and the target is the name you just created with the A record.

  3. Wait for it to spread

    DNS changes are cached across the internet. Minutes usually, up to a day in the worst case.

  4. Test with the bare domain

    Add play.yourserver.com in Minecraft with no port. If it connects, both records are right.

Do not proxy the record through Cloudflare

Cloudflare's orange-cloud proxy handles web traffic, not the Minecraft protocol. Turning it on makes the server unreachable. The record has to be «DNS only» — grey cloud.

The SRV target must be a name, not an IP

It has to point at a hostname that itself resolves to the IP, which is why you create the A record first. An SRV record pointing straight at an address does not work.

How to confirm it worked

Connecting with just the domain and no port succeeds, and the server list shows the correct player count.