A custom domain lets players join your server with a clean address like play.yourdomain.com instead of an IP and port, and an SRV record hides the port so they do not have to type it at all.
Two ways to point a domain at your server
First, find your connection details at the top of your server view in the panel. You will see an IP address and a port, for example 123.45.67.89:25580.
- If your server uses the default port 25565, a simple A record is enough and players type just play.yourdomain.com.
- If your server uses any other port (most do), add an SRV record so players still type only play.yourdomain.com and the port is filled in automatically.
You set both of these at your domain registrar or DNS host (such as Cloudflare, Namecheap or GoDaddy), not in the GuavaHost panel.
Option 1: A record only (default port)
- Create an A record with host play pointing to your server IP 123.45.67.89.
- Save and wait for DNS to update.
- Players connect to play.yourdomain.com.
If your port is not 25565, players would have to add :port, which is why most people use option 2 instead.
Option 2: SRV record (any port, hidden)
An SRV record is a special DNS entry that tells Minecraft both the address and the port. Create these two records:
- An A record: host play pointing to your IP 123.45.67.89.
- An SRV record with these fields:
- Service: minecraft
- Protocol: tcp
- Name or Host: play (the subdomain players will type)
- Priority: 0
- Weight: 5
- Port: your server port, for example 25580
- Target: play.yourdomain.com (the A record you just made)
Some DNS hosts ask for the whole name as minecraft.tcp.play`. The important part is that the Target points to a hostname with an A record, not directly to an IP.
Test it
DNS changes can take anywhere from a few minutes to a couple of hours to spread. Once it is live, open Minecraft, add a server, and enter just play.yourdomain.com with no port. If it connects, you are done.
Gotchas
- Do not put http:// or a trailing slash in the address. It is a bare hostname.
- If it will not connect, confirm the A record resolves to the right IP and that the SRV port matches the port shown in your panel.
- Bedrock Edition does not read Java SRV records. On Bedrock you enter the address and the port in separate boxes, so give players the hostname plus the port number.
- Using Cloudflare? Leave the A record set to DNS only (grey cloud). The orange proxy does not pass Minecraft traffic.
Still stuck? Jump into our Discord at discord.gg/GuavaHost and the team will help you out.