Domains
Accounts › Domains lists every domain the server hosts, whoever owns it, and answers the first question about an unfamiliar name: whose account is it in?
A domain here is a DNS zone the server serves: it answers DNS for the
name and for every name beneath it. Hostnames that are not zones of their
own (www.example.com under example.com) are on the Hosts screen;
see Hosts and services.
The screen
The list shows each domain, its owner and when it was created, 50 to a page, and filters by Domain (any part of the name). The owner is the account that holds the zone, with a link to its page, or System for a zone of the server's own.
A domain's page shows the same: the domain, the owner, its ID and when it was created. The zone's records and their state at the name servers are not here; they are on the DNS Records screen, and a zone whose records did not reach the name servers shows on DNS Publication Failures.
An account's domains
The Domains tab of an account's page lists the account's zones and lets
you add one, or remove one with everything on it
(Remove a domain). Add Domain takes a domain name and provisions the standard
set of services on it (the zone, the identity provider, mail, the website
and its www alias), which
Create an account lists with the
command for each. It is refused by the name rules,
and hidden while the account is terminated. The tab and Add Domain show
how many domains the account holds against its
domain limit, which binds the holder, not you: at the
limit, Add Domain warns and adds the domain all the same. The tab also
lists the domains the holder asked to add themselves; see
Domain Claims. What the account holder
sees of their domains is in the account docs:
Introduction
to Domains & services. service list lists the services of one owner.
A domain, with every hostname and service in it, belongs to one account. The deletion of an account removes its zones, and refuses to start while a hostname in one of them belongs to somebody else; see Suspend, terminate and delete an account. Removing a domain does the same for one zone and leaves the account. Either way, the domain can then be added to any account.
Which names are refused
One set of rules decides whether a name can become a domain of an account,
whoever adds it: Add Domain, the server API, user create,
service domain create, and the holder's own
domain claims. The name is refused, before anything
is written, when:
- it is a public suffix, such as
comorco.uk, which nobody can hold; - it is inside a domain someone else holds, the server's own zones
included:
shop.example.comwhile another account holdsexample.com. Only the holder ofexample.comcan add names under it; - it is already a domain of the account, or inside one of its domains that is being removed;
- it, or
accounts.<domain>ormail.<domain>, is already a hostname on the server, in an inactive copy of a domain move too.service domain create, which makes the bare zone without the other services, checks only the name itself and may take over a hostname of the same account; - the account is terminated or being deleted.
A name below one of the account's own domains, e.g. shop.example.com
beside example.com, is allowed and becomes a zone of its own. A name
above another account's domain, e.g. example.com while another account
holds shop.example.com, is allowed too: the other account's zone stays
and keeps answering for its own names. The server API answers a refusal
with 409.
Where the zones are published
Every zone is published through the server's default DNS backend. A zone may also live in the holder's own Cloudflare or deSEC account, which the server then mirrors; DNS backends explains which does what, and How DNS publication works the pipeline between the panel and the name servers.
While an account is suspended, the records its holder added by hand stop answering and the generated ones keep answering, so the zone stays delegated and the suspended page is reachable; see Suspend, terminate and delete an account.