Glossary / DNS basics
Domain name
A domain name is the readable address people type to reach a website or send email, such as example.com. It is a string of labels separated by dots, read right to left from the top-level domain, and the Domain Name System maps it to the servers that answer for it.
Copy the syntax
Anatomy of a name
blog . example . com .subdomain, second-level domain, top-level domain, root.
Check who a name is registered with
whois example.comShows the registrar of record, dates and nameservers.
Have a name in mind?
.com $24.99 first year, renews at $24.99/yr. Other endings: not on sale yet.
In plain English
A domain name is your address online. People type it to find your site, and it sits after the @ in your email.
What to do
- Search for the name you want and compare the renewal price.
- Register it for at least a year and turn on auto-renew.
- Point it at your website and email provider.
- Defined in
- RFC 1034, section 3Source: RFC 1034
- Label length
- 1 to 63 octetsSource: RFC 1035
- Full name length
- 255 octets or lessSource: RFC 1035
- Top-level domains
- Listed in the IANA root zone databaseSource: IANA
- Reserved for examples
- example.com, example.net, example.orgSource: RFC 2606
What is a website domain?
A website domain is the domain name a site uses, like example.com. You register the name for a set term, then point its DNS at the server that hosts your site.
The domain and the hosting are separate. You can move a site to a new host and keep the same domain, or keep the host and change the domain.
What is the Domain Name System?
The Domain Name System is the distributed directory that maps domain names to IP addresses and other data. No single server holds it all. Each level delegates the next: the root points to .com, and .com points to the nameservers for example.com.
Who controls a domain name?
The registry runs the top-level domain and keeps the master list of names in it. A registrar sells registrations into that list. You, the registrant, hold the right to use the name for the term you paid for and can renew or transfer it.
Domain name examples, part by part
| Name | Top-level domain | Registered part | Subdomain |
|---|---|---|---|
| example.com | .com | example | none |
| www.example.com | .com | example | www |
| shop.example.co.uk | .co.uk | example | shop |
| docs.example.dev | .dev | example | docs |
Questions about Domain name
What is the difference between a domain and a URL?
A domain is just the name, such as example.com. A URL is a full address to one resource, including the scheme and a path, such as the pricing page on example.com. Every web URL contains a domain, but a domain alone points to no specific page.
Can a domain name have numbers or hyphens?
Yes. Letters, digits and hyphens are allowed, but a label cannot start or end with a hyphen. Each label can be up to 63 characters. Internationalized names use an encoded form that starts with xn-- under the hood.
Do I own a domain name forever?
No. You register a domain for a term, usually one to ten years, and keep it as long as you renew. If it expires and is not renewed in time, the name can be released for someone else to register.
What is a domain name in email?
In an address like jo@example.com, the part after the @ is the domain. Its MX records tell other mail servers where to deliver messages for that domain.
Put it to work on your own domain
See the first-year and renewal price before you pay.