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.
| Part | Example | Who controls it |
|---|---|---|
| Root | Implicit trailing dot | Root zone management, coordinated globally |
| Top-level domain | uk | The registry for the TLD |
| Public suffix | co.uk | The registry, under its registration policy |
| Registrable domain | example.co.uk | The registrant, through a registrar |
| Subdomains | shop and api | The registrant, without further registration |
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.
| Rule | Limit or requirement | Practical effect |
|---|---|---|
| Label length | 1 to 63 characters | Each part between dots stays short |
| Total length | Up to 253 characters in text form | Deep subdomain chains hit the limit |
| Host name characters | Letters a-z, digits 0-9, hyphen | No spaces, underscores or symbols in host names |
| Hyphen placement | Not at the start or end of a label | -shop.example is invalid |
| Internationalized labels | Encoded as Punycode with prefix xn-- | Non-Latin scripts work in the DNS |
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.
| Stage | Typical duration | What happens |
|---|---|---|
| Active registration | 1 to 10 years | Name resolves and can be renewed or transferred |
| Expiry and auto-renew grace | Up to about 45 days | Registrar may suspend resolution; holder can renew |
| Redemption grace period | About 30 days | Name is deleted from use; recovery costs a fee |
| Pending delete | 5 days | No recovery possible |
| Released | After pending delete | Anyone may register the name again |
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.
Domain names compared with related identifiers
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.
| Identifier | Example | Relationship to the domain name |
|---|---|---|
| Domain name | example.org | The registered, hierarchical name itself |
| Host name | mail.example.org | A domain name that identifies a specific host |
| FQDN | mail.example.org. | A complete name ending at the root |
| URL | example.org/help after a scheme | Contains a domain name plus scheme and path |
| IP address | 192.0.2.80 | What DNS records map the name to |
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.