You use them daily and still wonder: what is a domain name? It’s the human-readable address that stands in for a hard-to-remember IP address, and you only ever pay for the right to use it.
| Item | Value |
|---|---|
| Longest allowed TLD | 63 characters |
| Longest allowed label | 63 characters |
| Number of TLDs | More than 1,500 TLDs |
| Length of a registration | One or more years |
| Time for your DNS information to reach DNS servers | Within a few hours |
These figures come from MDN Web Docs and GoDaddy’s domains glossary. They can change, so check the source before you rely on them.
What a domain name does for you
A domain name is the unique name and address assigned to any given website. Think of it like a saved contact in your phone: you use a familiar name instead of memorizing a long number. Every domain name is unique worldwide, which helps visitors find the right site, as GoDaddy’s domain guide explains.
Behind the name sits a public IP address, such as the IPv4 address 192.0.2.172 that MDN uses as its example. Computers handle those numbers easily. People do not, because IP addresses are hard to remember and might change over time.
The domain name system (DNS) closes that gap by translating the random numerals and dots used in networking into easier-to-type domain names, according to GoDaddy’s glossary. The same glossary notes that a domain’s DNS settings let it serve things like websites and email.

How a domain name is built
A domain name is made of one or more parts separated by dots and read from right to left, as MDN describes it. The rightmost part is the top-level domain, and the labels that follow it complete the name.
Top-level domains
A top-level domain (TLD) tells users the general purpose of the service behind the domain name. The most generic TLDs (.com, .org and .net) don’t require web services to meet any particular criteria, but some TLDs enforce stricter policies so it is clearer what their purpose is, per MDN.
Examples of stricter TLDs:
- Local TLDs such as .us, .fr or .se can require the service to be provided in a given language or hosted in a certain country.
- .gov is only allowed to be used by government departments.
- .edu is only for use by educational and academic institutions.
ICANN maintains the full list of TLDs, and a TLD can be up to 63 characters long, according to MDN. GoDaddy counts more than 1,500 TLDs, with new ones added on a regular basis. For a closer look at the options, see our domain extensions explained guide.
Labels, the SLD and subdomains
A label is a case-insensitive sequence of letters, digits and hyphens, from one to 63 characters long. A hyphen may not be the first or last character in a label, says MDN.
The label right before the TLD is also called the secondary level domain (SLD). A name can hold more parts than the usual two: informatics.ed.ac.uk is a valid domain name.
Once you control a domain such as mozilla.org, you can create subdomains with different content at each, like developer.mozilla.org, support.mozilla.org or bugzilla.mozilla.org.

Domain, URL, website and hosting: how they differ
These four terms get mixed up constantly. Here is how they separate:
- Domain: the website’s name.
- URL: the complete address to a specific page on that website.
- Web server: the machine a domain’s human-readable address leads to.
The first two definitions come from GoDaddy’s domain guide, and the third from MDN, which says domain names provide a human-readable address for any web server available on the Internet.
So a domain is only the address, and a server is where the site runs. Your choice of server is covered in our overview of types of web hosting. Once you have a host, our guide on how to point a domain to hosting covers the connection.
Who owns a domain name?
You cannot buy a domain name outright. Instead, you pay for the right to use it for one or more years, and you can renew that right with priority over other people’s applications, but you never own the name, according to MDN.
The reason is practical. Unused domain names eventually become available to be used again by someone else, instead of sitting locked and idle.
Registry, registrar and registrant
Three roles keep the system running, and GoDaddy’s glossary defines them this way:
- Registrant: an individual or organization that registers a web address for their exclusive use.
- Registrar: an accredited company managing the registration of website names, known as domain names.
- Registry: the entity that manages the database of registrations of a specific kind of web address.
The glossary offers a housing comparison. If registering a domain is like leasing an apartment, a registrar is like the property manager, and the registry is like the property owner.

Above all of them sits ICANN. According to the same glossary, this United States-based non-profit organization sets rules and regulations for using a web address.
How to find and register a domain name
Start by checking availability. Most registrars offer a “whois” service that tells you whether a domain name is available, as MDN notes.
If the name is free, the registration steps run like this:
- Go to a registrar’s website and choose its call to action for getting a domain name.
- Fill out the form with every required detail, and double-check the spelling of the name you want.
- Pay, then wait for the registrar to tell you the domain name is properly registered.
- Wait a short while: within a few hours, all DNS servers will have received your DNS information.
Spelling matters because a mistake can’t be fixed after payment. Read how to choose a domain name before you search. When you’re ready to buy, how to register a domain name gives the full walk-through. If you already hold a name elsewhere, see how to transfer a domain name.
What DNS does after you register
GoDaddy compares a domain name to a street address and DNS to the city infrastructure: roads, power lines, water lines and everything that makes the address reachable. Its settings hold records, such as A and CNAME records.
Those records decide where your website and email go. The details are laid out in dns records explained.
Keeping your domain safe
Registration asks for your real-world address, and MDN warns that in some countries registrars may be forced to close the domain if they cannot provide a valid address. Fill that form in properly.
Domain privacy masks the contact information in the public directory of everyone who registers domain names. It may be automatically included in the price of registration, or sold separately, per GoDaddy’s glossary. Our explainer on whois privacy covers how that masking works.
For wider protection, GoDaddy’s domain guide advises three habits:
- Use domain privacy.
- Register common variants of your name.
- Set up auto-renewal.
A domain is only one layer of a safe site. Our website security guide covers the rest.
This guide is independent and recommends no registrar. It names the companies above only as sources.
Frequently asked questions
Is a domain name the same as a URL?
Show answer
No. The domain names the site, while a URL goes further and points to one particular page on it.
Can I buy a domain name permanently?
Show answer
Not in the usual sense. A registration lasts for a set period of time rather than being owned outright, and you keep it by renewing, as GoDaddy’s glossary describes.
How soon will a new domain name work?
Show answer
Your registrar confirms when registration is complete. After that, DNS servers should have your information within a few hours, per MDN.
Which characters can a domain name use?
Show answer
Each label may contain letters, digits and hyphens, with no hyphen at the start or end. Labels run up to 63 characters, according to MDN.



