AT A GLANCE
What is a domain name? It is the human-readable address people enter to reach a website, such as arthack.org. A domain does not store your website files, it points browsers toward the server that does.
- DNS, short for Domain Name System, translates a domain name into an Internet Protocol (IP) address.
- A domain usually contains a name such as arthack and an extension such as .org.
- You register the right to use a domain for a set period, rather than owning it permanently.
- A domain registrar manages the registration, while a web host provides server space for your website.
The right registrar, renewal price, extension rules, and security settings matter more than the domain’s initial advertised price.
What Is a Domain Name?
A domain name is a readable address that identifies a website or another Internet service. For example, in arthack.org, the domain name helps visitors reach the site without memorising a numerical IP address such as 192.0.2.10.
The Domain Name System, or DNS, connects that readable name to the relevant IP address. The IP address identifies a server on a network, while the domain gives people a practical way to find the service hosted there.
| Term | Example | What it does | Who manages it |
|---|---|---|---|
| Domain name | arthack.org | Identifies a website | Registrar and registry |
| IP address | 192.0.2.10 | Identifies a network destination | Hosting or network provider |
| DNS | A record | Maps a name to an IP address | Authoritative DNS provider |
| Web hosting | Server account | Stores and serves website files | Hosting provider |
MDN describes domain names as human-readable addresses for Internet-connected web servers, while Cloudflare explains that DNS enables browsers to use those names instead of complex numerical addresses. Domain registration prices, policies, and available extensions change, so check the registrar’s current terms before paying.
How Does a Domain Name Work?
A domain name works as part of a lookup process. Your browser asks DNS infrastructure which IP address belongs to the requested name, then connects to the web server at that address.
- You enter a domain such as example.com into a browser.
- The browser and operating system check their local DNS caches for a recent answer.
- If no cached answer exists, a recursive DNS resolver queries the DNS hierarchy.
- The resolver receives an authoritative answer, such as an IPv4 address in an A record or an IPv6 address in an AAAA record.
- The browser connects to the server and requests the page using HTTP, the Hypertext Transfer Protocol.
What Happens When You Enter a Domain Name in Your Browser?
When you enter a domain name, the browser first separates the hostname from any path or query string. In https://example.com/docs/start, the hostname is example.com and /docs/start identifies a particular resource on the site.
The resolver can return a cached result until its time to live (TTL) expires. After that period, it asks an authoritative name server for updated DNS data. This caching explains why a DNS change can appear immediately for some visitors but take longer for others.
A DNS answer does not guarantee that a website is available or secure. It only helps the browser find a destination. HTTPS, which uses Transport Layer Security (TLS), protects the connection after the browser reaches the server; see how Transport Layer Security protects websites for the connection layer.
What Are the Parts of a Domain Name?
A domain name is divided into labels separated by dots and read from right to left. Each label identifies a different level in the DNS hierarchy.
- .com is the top-level domain (TLD).
- example is the second-level domain, the part commonly chosen by a person or business.
- shop in shop.example.com is a subdomain, which creates a separate hostname under the main domain.
- https:// is a protocol, not part of the domain name.
Top-Level Domains, Second-Level Domains, and Subdomains
In blog.example.com, .com is the TLD, example is the second-level domain, and blog is the subdomain. You can create subdomains such as docs.example.com or store.example.com when your DNS provider and hosting setup support them.
MDN states that labels can contain letters, numbers, and hyphens, but a hyphen cannot be the first or last character of a label. Labels are case-insensitive, so Example.com and example.com resolve as the same domain name.
Domain Name vs. URL, IP Address, and Web Hosting
A domain name is only one part of a web address. A URL, or Uniform Resource Locator, can include the protocol, domain, port, path, and query parameters.
| Concept | Example | Purpose | Can it contain page paths? |
|---|---|---|---|
| Domain name | example.com | Names a website or service | No |
| URL | https://example.com/about | Locates a specific resource | Yes |
| IP address | 203.0.113.20 | Identifies a network destination | No |
| Web hosting | Shared hosting account | Stores and delivers site files | Not by itself |
The difference between a domain registrar and a host is straightforward: the registrar records your right to use the name, while the host runs the server that delivers your HTML, CSS, images, and application code. You can buy both services from one company or use separate providers.
For example, you might register example.com at one registrar, point its DNS records to a WordPress host, and use the URL https://example.com/contact to open a page. The domain remains independent of the hosting account, which makes changing hosts possible without changing the public address.
What Are the Different Types of Domains?
The most common domain categories are generic top-level domains and country-code top-level domains. The extension can affect branding, eligibility, price, and how visitors interpret the site.
- gTLDs, or generic top-level domains, include .com, .org, and .net.
- ccTLDs, or country-code top-level domains, include .uk, .fr, and .jp.
- Newer extensions can describe a category, business, or community, but each registry sets its own rules and renewal prices.
Generic Top-Level Domains (gTLDs)
Generic TLDs are not tied to a country. Extensions such as .com, .org, and .net are widely recognised, while newer options can be more specific to an industry or project.
Some generic extensions have eligibility restrictions. Check the registry or registrar requirements before building a brand around an extension that may require a particular organisation type.
Country-Code Top-Level Domains (ccTLDs)
Country-code TLDs represent territories or countries, but their registration rules differ. Some are open to registrants worldwide, while others require local residence, a local business, or a local representative.
A ccTLD can help signal a target market, but it can also create administrative requirements. Confirm eligibility, renewal rules, and transfer restrictions with the relevant registrar before registering.
Who Manages and Owns Domain Names?
No individual permanently owns a domain name in the same way they own a physical object. You register the right to use an available name for a defined period and retain priority by renewing it on time.
- Registries operate the central database for a TLD and publish its registration rules.
- Registrars provide the customer-facing search, registration, renewal, and transfer service.
- ICANN, the Internet Corporation for Assigned Names and Numbers, coordinates policies and parts of the global domain name system.
- Registrants are the people or organisations listed as holding registration rights.
Registries, Registrars, and ICANN
When you register a domain, the registrar sends the registration details to the relevant registry. The registry maintains the authoritative record for that TLD, while the registrar gives you a dashboard for DNS settings, renewal, and transfer controls.
Cloudflare notes that there are more than 300 million registered domain names globally, although totals and reporting methods can change. Treat that figure as a current source-reported estimate and re-check the registry or ICANN data if you need a precise market statistic.
How to Choose a Domain Name
Choose a domain that is easy to say, spell, remember, and connect to your project. A short name is useful, but clarity matters more than forcing an abbreviation.
- Prefer a name that is easy to pronounce over a string of numbers or repeated hyphens.
- Check that the name does not resemble an existing company, trademark, or competing service.
- Say the name aloud and ask someone else to type it without seeing the spelling.
- Compare the first-year price with the regular renewal price, privacy fees, and transfer terms.
- Check the matching social handles and email address before committing to a brand.
Use a registrar search tool or a command-line lookup to check availability. For example, whois example.com can show registration information where the relevant service still provides public WHOIS results, although privacy rules and registry policies affect what appears.
How to Register a Domain Name
Registering a domain usually takes a few minutes, but you should verify the spelling, legal registrant details, renewal settings, and DNS destination before completing checkout.
- Search for the name at a reputable registrar.
- Compare the renewal price, included privacy protection, transfer lock, and support terms.
- Enter accurate registrant contact details and enable account security controls.
- Pay for the registration period and confirm that the domain appears in your account.
- Configure the name servers or DNS records required by your host, email provider, or other service.
Checking Availability and Choosing a Registrar
Availability tools can offer alternative extensions, but check the exact name character by character before purchase. A registrar should clearly display the regular renewal price and any optional add-ons rather than showing only a discounted introductory rate.
Look for two-factor authentication (2FA), domain lock controls, recovery procedures, and clear expiry notices. These features reduce account and transfer risks, but they cannot guarantee that a domain will never be compromised.
Registration, Renewal, and Transfer
Registration is time-limited, so enable auto-renewal only when the payment method and account access are reliable. Keep an independent reminder of the expiry date because losing access to the registrar account can make renewal difficult.
Transfers commonly require an authorisation code and removal of a transfer lock. Some domains cannot be transferred during specific waiting periods after registration or a previous transfer, so check the registrar and registry rules before starting.
How Much Does a Domain Name Cost?
A domain can cost a few US dollars per year or much more, depending on the extension, registry pricing, registrar markup, and whether the name is classified as premium. A premium domain can cost hundreds, thousands, or, in rare cases, millions of dollars because of its perceived commercial value.
Compare the full cost rather than the first-year promotion. Check the registration price, renewal price, privacy charge, email add-on, brokerage fee, and transfer fee before choosing a registrar. Prices and promotions change, so re-check the checkout page in 2026 before payment.
Can a Domain Name Be Used for Email?
Yes. You can use a domain for addresses such as [email protected] by adding the email provider’s DNS records to the domain.
- MX, or Mail Exchange, records tell other mail servers where to deliver messages.
- SPF, or Sender Policy Framework, identifies servers allowed to send mail for the domain.
- DKIM, or DomainKeys Identified Mail, adds a cryptographic signature to outgoing messages.
- DMARC, or Domain-based Message Authentication, Reporting, and Conformance, tells receiving servers how to handle authentication failures.
Your domain registrar does not necessarily provide an inbox. You may register the domain with one company, host the website with another, and use Google Workspace, Microsoft 365, or a specialist email provider for mail.
How to Keep a Domain Name Secure
Protect the registrar account first because anyone who controls it may be able to change DNS records, redirect the website, or transfer the domain. Use a unique password, 2FA, restricted account access, and a recovery email that you actively monitor.
- Enable registrar and transfer locks where available.
- Turn on automatic renewal and verify the payment method before the expiry date.
- Keep registrant contact information accurate and watch for renewal phishing messages.
- Review name servers and important DNS records after account changes.
- Use DNSSEC, or Domain Name System Security Extensions, when your registrar and DNS provider support it.
Domain privacy can hide eligible contact details from public registration records, but it does not make you anonymous to the registrar or applicable authorities. For broader website protection, separate domain security from application security, HTTPS configuration, and hosting backups.
Frequently Asked Questions About Domain Names
Do I Need a Domain Name for a Website?
You do not need a custom domain to publish a website because services such as GitHub Pages can provide a project subdomain. A custom domain is useful when you want a stable, memorable address that is independent of a platform.
Can I Change or Transfer My Domain Name?
You cannot edit a registered domain into a different name, but you can register a new name and redirect the old one. You can transfer the same domain to another registrar if the domain is eligible and you obtain the required authorisation code.
Can I Get a Free Domain Name?
Some hosting plans, site builders, and education services include a domain or subdomain at no separate initial charge. Check the renewal price, ownership terms, advertising restrictions, and transfer policy because “free” offers often apply only for a limited period.
What Happens When a Domain Name Expires?
After expiry, a registrar may suspend the domain, place it into a grace period, send it to auction, or eventually return it to the registry. The exact sequence depends on the TLD and registrar, so renew before the expiry date and read the provider’s deletion policy.
If the domain is connected to WordPress, update DNS and hosting carefully when changing providers. The practical steps for reducing server and page delays are covered in how to speed up a WordPress site.
