← Back to Knowledgebase
Setting up a Domain Name
Connect a custom domain like play.yourserver.com to your server.
Step 1: Get your IP
Find your server's numerical IP address in the panel (e.g., 192.168.1.1).
Step 2: Create an A Record
- Log in to your domain registrar (Namecheap, GoDaddy, Cloudflare).
- Go to DNS Management.
- Add a new A Record:
- Name/Host:
play (or @ for the root domain)
- Value/Target: Your Server IP (e.g.,
192.168.1.1)
- TTL: Automatic or 3600
Step 3: SRV Record (If using a non-default port)
If your server port is NOT 25565 (e.g., 25578), you must also create an SRV record:
- Type: SRV
- Name:
_minecraft._tcp.play
- Priority: 0
- Weight: 0
- Port: Your Port (e.g., 25578)
- Target:
play.yourdomain.com
Step 4: Wait for Propagation
DNS changes can take anywhere from 10 minutes to 24 hours to propagate globally.