Set up a custom domain so players can connect to your Minecraft server with an address like play.example.com instead of a numeric IP and port.
Follow our consolidated guide: How to Use a Custom Domain with Your Game Server
For Minecraft: Java Edition, the SRV service prefix is _minecraft. Your SRV record name will look like _minecraft._tcp.play (where play is your subdomain).





