Minecraft Custom Domain & SRV Record Setup

Want players to join with play.yourdomain.com instead of an IP and port? Enter your details and get the exact DNS records to add, then check they're working.

Add these DNS records

TypeName / HostPoints toPortPriorityWeight
Aplay203.0.113.10---
  • On Cloudflare, set every record to DNS only (grey cloud). The orange-cloud proxy only handles websites and will stop Minecraft connecting.
  • New records usually work within minutes, but can take up to a few hours.
Players will join with
play.example.com

Check your records

Once you've added the records, this looks them up to confirm they're live.

How to use the Custom Domain & SRV Setup

  1. Enter your domain and the subdomain players will type, such as play.
  2. Enter the server address your host gave you, without the port, and then the port.
  3. Add the DNS records shown to your domain, in the DNS settings of wherever the domain is managed.
  4. Use the check to look the records up and confirm they are live.
  5. Join with the new address in Minecraft to test it.

Common questions

Do I need an SRV record?

Only if your server is not on the default port, 25565. The SRV record is what lets players join with just the domain, without typing a colon and the port after it.

How long do the records take to work?

Usually a few minutes. Occasionally it takes up to a few hours for a change to reach everyone.

I use Cloudflare and players cannot connect. Why?

Set every record to DNS only, the grey cloud. The orange cloud proxy only handles websites, and it stops Minecraft connecting.

Does this work for Bedrock?

Partly. The domain will work, but Bedrock does not read SRV records, so if your Bedrock server is not on port 19132 players still have to type the port.

See all free Minecraft server tools