If you want players to connect using a custom address like play.yourdomain.com
instead of your server IP and port, you can do this by adding both an A record and an SRV record in your DNS settings.
Step 1: Create an A Record
This connects the subdomain to your server's IP address.
- Log in to your domain provider's DNS panel
- Create a new A record with the following:
- Host: play
- Type: A
- Points to: Your server's IP
- TTL: Automatic or 3600
Step 2: Create an SRV Record
This tells the domain which port to use, so your players do not have to type it manually.
- Create a new SRV record with:
- Service: _your service name (example: _minecraft or _fivem)
- Protocol: _tcp
- Name: play
- Priority: 0
- Weight: 5
- Port: Your server’s port (example: 25595)
- Target: play.yourdomain.com
- TTL: 3600
Important Notes
- This only works if your DNS provider supports SRV records
- Akashi Hosting supports full DNS control through the cPanel Zone Editor
- Popular domain providers that support SRV records include:
- Namecheap
- Cloudflare
- GoDaddy
- Google Domains
- Dynadot
- Hover
- Porkbun
- Hostinger
- Limited or no SRV support:
- Wix
- Squarespace
- Shopify
- SRV records must point to the same subdomain as your A record
- DNS changes may take 5 to 24 hours to fully apply
If you're not sure how to set this up, open a support ticket and we’ll help you configure your domain.