Special Offer: Save Upto 10% on Game Servers & Bot Hosting
Panel & Control4 min read

Use a Custom Domain (and Hide the Port) with an SRV Record

Stop giving out `123.45.6.7:25567`. Map a clean domain to your server using DNS SRV.


The Problem

Shared hosts use non-standard ports. Telling players play.endercloud.in:25567 is ugly and they often drop the port. SRV records solve it, players type play.endercloud.in and the client resolves the port automatically.

What You Need

  • A domain (Cloudflare, Namecheap, GoDaddy, any DNS provider with SRV support)
  • Your Endercloud panel IP and port

Step 1, A Record

First, point the domain at the IP:

  • Type: A
  • Name: play (or @ for the root)
  • Content: your server IP
  • Proxy (Cloudflare): OFF, Minecraft is TCP, Cloudflare's HTTP proxy will break it

Step 2, SRV Record

FieldValue
TypeSRV
Service_minecraft
Protocol_tcp
Namethe subdomain (e.g. play) or @
Priority0
Weight5
Portyour panel's port
Targetthe A-record you made above (e.g. play.endercloud.in)

Cloudflare displays this as a single combined SRV form; older registrars want each field separately. Both are fine.

Step 3, Wait For DNS

  • ā± Cloudflare: 1–3 minutes
  • ā± Most registrars: 5–30 minutes
  • ā± Worst case: 24 hours

Test with:

nslookup -type=SRV _minecraft._tcp.play.endercloud.in

Players now use play.endercloud.in with no port.

Bedrock Note

Bedrock clients ignore SRV. If you run GeyserMC, give Bedrock its own A-record (e.g. pe.endercloud.in) and tell those players to enter the Bedrock port manually.

Need More Help?

DNS errors? Post the output of dig SRV _minecraft._tcp.<yourdomain> in Discord.

Was this helpful?

Your feedback helps us write better guides.

Related Articles

More from Panel & Control.

Still need help?

Our team is on Discord around the clock. Real humans, real answers.