Domain name

On this page 7

A domain name is a unique, hierarchical identifier within the Domain Name System, made of labels separated by dots, such as example.org or shop.example.co.uk. In the context of domain names on the Internet, the term usually means a registrable name that a person or organization holds through a registrar for a fixed term, and under which it can publish websites, email routing and other services.

A domain name is not an address and not a website. It is a stable label that points, through DNS records, to whatever infrastructure its holder chooses, which is why a business can change hosting providers, mail systems or networks without changing the name its customers know.

Anatomy of a domain name

A domain name is read from right to left, from the most general label to the most specific. The rightmost label is the top-level domain (TLD), the label to its left is the second-level domain that is usually registered, and any further labels are subdomains controlled by the holder.

The table below breaks down the name api.shop.example.co.uk into its parts.

PartExampleWho controls it
RootImplicit trailing dotRoot zone management, coordinated globally
Top-level domainukThe registry for the TLD
Public suffixco.ukThe registry, under its registration policy
Registrable domainexample.co.ukThe registrant, through a registrar
Subdomainsshop and apiThe registrant, without further registration
Parts of a domain name

The boundary between a public suffix and a registrable domain is not visible in the name itself. Browsers and certificate authorities rely on the community-maintained Public Suffix List to decide, for example, that cookies set for example.co.uk must not apply to all of co.uk.

Syntax rules and internationalized names

Domain names follow strict length and character rules that come from the DNS protocol and from host name conventions. Comparisons are case-insensitive, so Example.ORG and example.org are the same name.

RuleLimit or requirementPractical effect
Label length1 to 63 charactersEach part between dots stays short
Total lengthUp to 253 characters in text formDeep subdomain chains hit the limit
Host name charactersLetters a-z, digits 0-9, hyphenNo spaces, underscores or symbols in host names
Hyphen placementNot at the start or end of a label-shop.example is invalid
Internationalized labelsEncoded as Punycode with prefix xn--Non-Latin scripts work in the DNS
Technical limits of domain names

Internationalized domain names (IDNs) let users register names in scripts such as Cyrillic, Arabic or Chinese. The DNS still stores only ASCII, so the IDNA standard converts each label to a Punycode form, and browsers display the native characters. Because some characters from different scripts look identical, IDNs introduce homograph spoofing risks, which browsers mitigate by showing the xn-- form for suspicious mixed-script names.

How a domain name is registered

Registering a domain name creates a time-limited right to use the name, not ownership in the property sense. The registrant orders the name from an accredited registrar, which submits it to the registry that operates the TLD and its authoritative database.

Registration terms run from one to ten years for most generic TLDs. The registry then publishes NS delegation records in the TLD zone, so the name becomes resolvable through the name servers the registrant selects. Registration data is available through WHOIS and its structured successor RDAP, often with personal details redacted for privacy.

A registered name passes through a defined lifecycle, especially when it is not renewed.

StageTypical durationWhat happens
Active registration1 to 10 yearsName resolves and can be renewed or transferred
Expiry and auto-renew graceUp to about 45 daysRegistrar may suspend resolution; holder can renew
Redemption grace periodAbout 30 daysName is deleted from use; recovery costs a fee
Pending delete5 daysNo recovery possible
ReleasedAfter pending deleteAnyone may register the name again
Typical lifecycle of a generic domain name

Country-code TLDs set their own policies, including residency requirements, different grace periods and their own dispute rules, so these durations apply mainly to generic TLDs.

Several neighboring terms are often confused with domain names because they appear together in a browser address bar. The distinctions matter for security policies, certificates and cookies.

IdentifierExampleRelationship to the domain name
Domain nameexample.orgThe registered, hierarchical name itself
Host namemail.example.orgA domain name that identifies a specific host
FQDNmail.example.org.A complete name ending at the root
URLexample.org/help after a schemeContains a domain name plus scheme and path
IP address192.0.2.80What DNS records map the name to
Domain name and related identifiers

Managing domain names safely

Because nearly every online service depends on its domain, the domain name is one of the most critical assets an organization holds, and losing control of it can disable websites and email at once. Sound practice includes the following measures.

  • Enable auto-renewal and keep billing details current; expired domains are a frequent cause of outages.
  • Use registrar lock and registry lock to block unauthorized transfers and name server changes.
  • Protect the registrar account with multifactor authentication, because account takeover equals domain takeover.
  • Register obvious variants and the main country-code versions to reduce typosquatting and brand abuse.
  • Keep the registrant contact current, since transfer and dispute notices go to that address.

Trademark conflicts over generic TLD names are usually resolved through the Uniform Domain-Name Dispute-Resolution Policy (UDRP), an administrative procedure that is faster than court action but only transfers or cancels a name.

A plain-language summary

A domain name is the name you rent for your place on the Internet, such as a company’s web and email name. It is easier to remember than the numeric addresses that computers use.

You do not buy it forever. You register it for a period, usually a year or more, and you must renew it to keep it. While it is yours, you decide where it points, so you can move your website or email to another provider and keep the same name.

An example from practice

A regional bakery chain registers example-bakery.com for a five-year term through an accredited registrar and enables auto-renewal. It also registers the matching country-code domain for its home market and redirects it to the main site, so customers who type either name arrive at the same shop.

The chain points the domain to a hosted online store and routes email to a cloud mail service through MX records. Two years later it changes store platforms by updating only DNS records, and customers notice no change in the address. When a phishing site later appears under a look-alike name, the chain files a UDRP complaint, and the panel orders the transfer of the infringing domain to the bakery.