Black Friday Black Friday SALE: 40% off every resource until December 1. Shop the sale

Setting up domains

Add domains, limit them to eggs and choose the DNS record that is created.

On this page

Open Subdomain Manager in the admin area. The page lists your domains and every subdomain in use.

Add or edit a domain#

Click Add domain, or Edit next to a domain.

Field What it does
Domain The root zone, for example example.com. Letters, numbers, dots and hyphens only. It is saved in lowercase.
Zone ID (optional) The Cloudflare zone ID. Leave it blank to look the zone up by the domain name.
Available for The eggs that may use this domain. Leave it empty (All eggs) to allow every egg.
Default record type SRV (hides the port, best for Minecraft) or CNAME (keeps the port).
Service Only for SRV. Default _minecraft. A leading underscore is added when you leave it out.
Protocol Only for SRV. TCP (default) or UDP.
Per-egg record type Shows when you picked eggs. Set SRV or CNAME for one egg, or leave Use default.

The Save button needs a domain of at least 3 characters.

Per-egg record types#

A domain can serve different games. For example, pick a Minecraft egg and a web panel egg, keep the default on SRV, and set the web panel egg to CNAME. An egg set to SRV has its own Service and Protocol.

An override only counts for eggs that are selected in Available for. Overrides of eggs you removed from the list are dropped when you save.

What each record type creates#

Every record is not proxied by Cloudflare and has a TTL of 120 seconds. The address is the IP, or the IP alias if one is set, of the primary allocation of the server.

Type Target is an IP address Target is a hostname
CNAME An A record (or AAAA for IPv6) named sub.example.com pointing at the IP. Players connect with sub.example.com:port. A CNAME record named sub.example.com pointing at the hostname. Players connect with sub.example.com:port.
SRV An A or AAAA record for sub.example.com, unless one exists, and an SRV record named _minecraft._tcp.sub.example.com with priority 0, weight 0, the server port and sub.example.com as target. Only the SRV record, pointing at the hostname.

Players connect to an SRV subdomain with just sub.example.com.

Note

The server page labels the A or AAAA record of a CNAME domain as a "CNAME record", because that is the type you chose. The record in Cloudflare is an A or AAAA record when the target is an IP.

Change or delete a domain#

  • Editing a domain does not change subdomains that already exist. Their records stay as they were created.
  • Delete removes the domain and every subdomain under it. The records are deleted from Cloudflare first. The confirmation shows how many subdomains are in use.

See what is in use#

Subdomains in use lists up to the 500 newest subdomains with their record type, server name and port. A subdomain of a deleted server shows Deleted server. Admins cannot remove a single subdomain from this table. Users remove their own on the server page, and deleting a server removes its subdomains.

Last updated

Still stuck? Open a ticket on the help page or ask in Discord. Mention your version and what you tried.

Complete your panel

Get the Pterodactyl v2 Bundle with:

$104.68 $139.58 Save 25%