Custom Domain for Your Game Server
Why Use a Custom Domain?
Instead of 45.12.34.56:25565, your players can simply type mc.my-domain.com.
Option 1: Free Subdomain
At game-serverhosting.de you get a free subdomain:
your-name.game-serverhosting.de
Automatically set up when you order your server.
Option 2: Your Own Domain
If you have your own domain (e.g. my-domain.com):
Create an A Record
Type: A
Name: mc (results in mc.my-domain.com)
Value: <Your server IP>
TTL: 3600
SRV Record (for Minecraft without a port)
So players can connect without specifying a port:
Type: SRV
Name: _minecraft._tcp.mc
Priority: 0
Weight: 5
Port: 25565
Target: mc.my-domain.com
TTL: 3600
DNS Providers
| Provider | Free? | Recommended |
|---|---|---|
| Cloudflare | Yes | ✅ Highly recommended |
| Namecheap DNS | Yes | Good |
| Google Domains | Yes | Good |
| Route53 | No | Enterprise |
Important for Cloudflare
- Disable proxy (grey cloud): Game traffic cannot be proxied through Cloudflare
- DNS-Only (grey cloud) for game servers
- Proxy active (orange cloud) only for websites
Propagation
DNS changes can take up to 48 hours to be active worldwide. Usually it's done in 5–30 minutes.
Testing
# Check A record
nslookup mc.my-domain.com
# Check SRV record
nslookup -type=SRV _minecraft._tcp.mc.my-domain.com