Use your own domain with a Minecraft server
Use your own domain with a Minecraft server
If you already own a domain you can use it instead of our subdomain tool (Point a subdomain at your server).
Find your address
Your server's IP and port are in the Console or Network tab.
Simple option: A record (default port)
If the server uses port 25565, add:
| Type | Name | Value |
|---|---|---|
| A | play |
Your server IP |
Players join with play.yourdomain.com.
Custom port: SRV record
If the port isn't 25565, add an SRV record so players still don't need to type it:
| Field | Value |
|---|---|
| Service | _minecraft |
| Protocol | _tcp |
| Name | play |
| Priority / Weight | 0 / 5 |
| Port | Your server port |
| Target | play.yourdomain.com (which must have an A record) |
Notes
- Bedrock does not use SRV records; players need the port.
- Wait for DNS to spread before testing.
- On Cloudflare, keep these records DNS only.
Was this not what you needed?
Tell us what you're trying to do and our team will help directly.
Open a support ticket Ask on Discord