How do I set up a play. address for my Minecraft server?
How to give your Minecraft server an easy address: a subdomain in the game panel, or play.yourdomain.com with an SRV record on your own domain.
By Yvan Watchman Updated
You give your Minecraft server an easy address like play.yourdomain.com with an SRV record on your domain. If you do not have your own domain, you can create a free subdomain on one of our domains in the game panel under Subdomains.
Option 1: A subdomain in the game panel
- Log in to the game panel and open your server.
- Go to Subdomains and click Create subdomain.
- Fill in the window:
- Subdomain: the first part of your address, for example
myserver - Subdomain zone: the domain after it
- Allocation: your server's port; the right one is usually already selected
- Comment: a description for yourself
- Subdomain: the first part of your address, for example
- Click Create subdomain.
Your server can now be reached at myserver. followed by the zone you chose, without a port.
Option 2: Your own domain with an SRV record
What you need
- Your own domain whose DNS you can change. If your domain is with us with web hosting, you do this in DirectAdmin. See How do I manage DNS settings for my domain?
- Your server's hostname and port. They are in the game panel under Network, at Hostname and Port.
Add an SRV record
In your domain's DNS management, create a new record with these details:
| Field | Value |
|---|---|
| Type | SRV |
| Name | _minecraft._tcp.play |
| Priority | 0 |
| Weight | 0 |
| Port | the Port from the game panel |
| Target | the Hostname from the game panel, followed by a dot |
In DirectAdmin, for an SRV record you enter the name in the first column and the rest together in the last column:
0 0 <port> <hostname>.
Note
The dot after the hostname is required. Without it, DNS appends your own domain and the address does not work.
Want a word other than play? Change play in the name. To use the domain itself (yourdomain.com), use _minecraft._tcp as the name.
Check
DNS changes can take a while. Then add a server in Minecraft with play.yourdomain.com as the address, without a port. See How do I join my Minecraft server?
Good to know
An SRV record and a subdomain from the game panel only work for Minecraft Java Edition. Bedrock players connect with the address and Bedrock port from the client portal. See How do I let Bedrock players join my Java server?
Did this article help you?
Related articles
How do I install mods on my Minecraft server?
How to install mods on your Minecraft server: switch your server to Fabric in the client portal, add Fabric API and upload your mods.
How do I install a modpack on my Minecraft server?
How to put a modpack on your Minecraft server with the modpack installer in the game panel: CurseForge, Modrinth, Feed The Beast and more.
How do I change the version of my Minecraft server?
How to switch Minecraft version or server type through the Reinstall tab in the client portal. Your world and plugins stay in place.
Why can't I connect to my Minecraft server?
Cannot connect to your Minecraft server? Go through the most common causes: server off, wrong address, different version, whitelist or mods.