Use your own domain
Every game server can be reached on its IP and port, for example 203.0.113.10:31544. That works, but it is hard to remember. If you own a domain, you can give players a name instead:
| You want | Use |
|---|---|
play.yourdomain.com for players to join with | DNS records for your game server |
https://map.yourdomain.com for a web map or stats page | An HTTP domain on a web port |
We do not sell or register domains. Buy one from any domain provider first, then follow the steps below.
DNS records for your game server
You create these records yourself at your domain provider. The dashboard does not create them for you. You need your server's address from the How players join card on External Access.
- Every game: an
Arecord fromplay.yourdomain.comto your server's IP (the part of the address before the colon). If the address starts with a host name instead of an IP, use aCNAMErecord to that host name. Players then typeplay.yourdomain.com:<port>. - Minecraft (Java): also an
SRVrecord_minecraft._tcp.playpointing atplay.yourdomain.comand your server's port. Players then type onlyplay.yourdomain.com. - FiveM: also an
SRVrecord_cfx._udp.play, the same way. Players then typeconnect play.yourdomain.com.
The exact fields are in How players connect to your server.
A few things to keep in mind:
- DNS changes can take a few minutes, sometimes longer, to reach every player.
- The records do not update by themselves. If the address on External Access ever changes, update them.
- If you use Cloudflare, leave game records DNS only (grey cloud).
To show your own domain in the FiveM server browser too, see Show your custom domain in the FiveM server browser.
HTTPS for a web port
If a plugin on your server serves a web page, such as a live map, you can give its port a https:// address on a domain you own, with a certificate we manage for you. Open the port first, then click Add HTTP domain on its row. The full steps are in Open ports on your game server.
Frequently asked questions
Can I buy a domain from you?
No. Buy it from any domain provider, then add the records as described above.
Players still cannot join with my domain.
Wait a few minutes after creating the records, then try again. Check that the A record points at the IP from External Access and that the SRV record's port matches the number after the colon. In games other than Minecraft (Java) and FiveM, players still need to add the port.
Can I point several domains at the same server?
Yes. Create the same records for each domain.
