Want to make your Minecraft server more professional and easier to remember? Setting up a custom domain for your Minecraft server lets players connect using an address like "play.yourdomain.com" instead of a complicated IP and port number. This step-by-step guide will show you exactly how to connect your domain to your Minecraft server using Cloudflare's DNS management, making your server more accessible and professional-looking.
Step 1: Get Your Minecraft Server Details
- Log into your MintServers game panel
- Click on "Subdomain" in the left sidebar
- On the right side, find the "How to connect a domain" column
- Note down the "Address (target)" and "Port" values


Step 2: Create an SRV Record in Cloudflare
- In your Cloudflare dashboard, select your domain
- Click on "DNS" in the left sidebar
- Click "Add Record"
- Select "SRV" as the record type
- For the "Name" field, enter
_minecraft._tcp.
(e.g.,_minecraft._tcp.play
if you want players to connect via play.yourdomain.com) - Set "Priority" to 1
- Set "Weight" to 1
- Set "Port" to the port number from your server details
- Set "Target" to the Address (target) from your server details
- Click "Save"




Testing Your Domain Connection
After setting up your DNS records, it may take a few minutes to several hours for the changes to propagate. To test if your domain is properly connected:
- Open Minecraft Java Edition
- Go to Multiplayer → Add Server
- Enter your domain (e.g., play.yourdomain.com) in the Server Address field
- Click "Done" and try to connect to your server
Troubleshooting Common Issues
Can't Connect to Server Using Domain
- Verify that your SRV record is correctly configured
- Try flushing your DNS cache (ipconfig /flushdns on Windows)
- Wait longer for DNS propagation (up to 24 hours)
SRV Record Not Working
- Double-check the format of your SRV record name (_minecraft._tcp.subdomain)
- Verify that your target is correctly formatted
- Ensure your Minecraft server is running and accessible via IP
By following this guide, you've successfully connected your domain to your Minecraft server using Cloudflare. Players can now join your server using your custom domain, making it more professional and easier to remember. If you encounter any issues, double-check your DNS settings and ensure your server is running properly.