New to CraftNodes? Use code WELCOME10 at checkout for 10% off your first month.

Back to Blog

May 13, 2026

How to Add Custom Domains and Subdomains to Your Minecraft Server

Connect a custom domain or subdomain to your Minecraft server. Use DNS SRV records to let players join with play.yourserver.com instead of an IP.


Why Use a Custom Domain?

play.yourserver.com is much easier to remember than an IP address and looks more professional. You can also change your hosting provider without telling players a new IP.

What You Need

  • A domain name (purchase from Namecheap, Porkbun, or Cloudflare Registrar)
  • Access to your domain DNS settings
  • Your CraftNodes server IP and port

Method 1: A Record (Port 25565 Only)

If your server runs on the default port 25565, add an A record: play.yourserver.com → your-server-ip. Players connect with play.yourserver.com.

Method 2: SRV Record (Any Port)

If your server runs on a non-standard port, use an SRV record:

Type: SRV
Name: _minecraft._tcp.play
Priority: 0
Weight: 5
Port: your-port
Target: your-server-ip

This lets players connect with just play.yourserver.com even on a custom port.

DNS Propagation

DNS changes take 15 minutes to 48 hours to propagate. Use dnschecker.org to see when your new record is live.


All posts

CraftNodes Blog