What Is a Domain Name? Complete Beginner's Guide

What a domain name is, how domain names work, the parts of a domain, and everything beginners need to know about domains and the internet.

A domain name is the address people type into their browser to visit a website. When you type google.com or wikipedia.org into the address bar, you are using a domain name. It is the human-friendly label that identifies a website on the internet.

Behind the scenes, the internet runs on numerical IP addresses like 142.250.80.46. Domain names exist so that people do not have to remember those numbers. The Domain Name System (DNS) translates the domain name you type into the IP address of the server where the website is hosted. Think of it like a phone book: the domain name is the person's name, and the IP address is their phone number.

The Parts of a Domain Name

Domain names have a structure. Understanding the parts helps you make sense of how the system works and how to choose the right domain for your needs.

Top-Level Domain (TLD)

The TLD is the last segment of a domain name, the part after the final dot. In example.com, the TLD is .com. In example.org, it is .org.

There are several categories of TLDs:

Generic TLDs (gTLDs). The most common ones: .com, .org, .net, .info, .biz. Since 2013, hundreds of new gTLDs have been introduced, including .app, .io, .dev, .shop, .blog, and many others.

Country-code TLDs (ccTLDs). Two-letter codes representing countries: .uk (United Kingdom), .de (Germany), .jp (Japan), .au (Australia), .ca (Canada). Some ccTLDs are used internationally (.io is technically British Indian Ocean Territory but is popular with tech companies), while others are restricted to residents or businesses in that country.

Sponsored TLDs (sTLDs). TLDs managed by specific organizations for specific communities: .edu (educational institutions), .gov (US government), .mil (US military), .museum, .travel.

.com remains the most recognized and trusted TLD by a wide margin. About half of all registered domains use .com. For more on choosing the right TLD, see choosing the right domain extension.

Second-Level Domain (SLD)

The SLD is the part you choose when you register a domain. In example.com, "example" is the second-level domain. This is your brand, your business name, or whatever identifier you want on the internet.

The SLD combined with the TLD forms your root domain (also called the apex domain or naked domain): example.com.

Subdomain

A subdomain is an optional prefix added to the left of your root domain. In blog.example.com, "blog" is a subdomain. In shop.example.com, "shop" is a subdomain.

The most common subdomain is www, which stands for World Wide Web. Many sites use www.example.com and example.com interchangeably, with one redirecting to the other.

You can create unlimited subdomains under a domain you control. Each subdomain can point to a different server, application, or section of your website. You do not need to register subdomains separately; they are configured through DNS records.

How Domain Names Work

When you type a domain name into your browser, a multi-step process happens in milliseconds.

The DNS Lookup Process

  1. You type example.com in your browser. The browser needs to find the IP address of the server where example.com is hosted.

  2. Browser cache check. Your browser first checks its own cache. If you visited this site recently, the IP address might already be stored locally.

  3. Operating system cache check. If the browser cache does not have the answer, the request goes to the operating system, which has its own DNS cache.

  4. Recursive resolver. If neither cache has the answer, the request goes to a recursive DNS resolver, usually operated by your internet service provider (ISP) or a public DNS service like Google (8.8.8.8) or Cloudflare (1.1.1.1).

  5. Root name servers. The resolver asks a root name server, "Where can I find information about .com domains?" The root server responds with the address of the .com TLD name server.

  6. TLD name servers. The resolver asks the .com TLD name server, "Where can I find information about example.com?" The TLD server responds with the address of example.com's authoritative name server.

  7. Authoritative name server. The resolver asks the authoritative name server, "What is the IP address for example.com?" The name server responds with the IP address.

  8. Connection established. The resolver returns the IP address to your browser. Your browser connects to that IP address and loads the website.

This entire process typically takes 20 to 100 milliseconds. Caching at various levels means most lookups are resolved without going through every step.

When you "buy" a domain name, you are not buying the name itself. You are leasing the right to use it for a set period, typically 1 to 10 years. If you do not renew the lease, the domain eventually becomes available for someone else to register. This is why domain expiry monitoring matters. For the full lifecycle, see the domain expiry guide.

How to Get a Domain Name

Getting a domain name involves three steps: choosing a name, finding a registrar, and registering it.

Choose Your Domain Name

Pick a name that is memorable, easy to spell, and relevant to your website or business. Keep it short. Avoid hyphens and numbers, which are harder to communicate verbally. Check that the name does not infringe on existing trademarks.

Find a Registrar

A domain registrar is a company authorized to sell domain name registrations. Popular registrars include Namecheap, Cloudflare Registrar, Google Domains, GoDaddy, and Porkbun. Registrars compete on price, features, and user experience.

Compare registrars on renewal price (not just the first-year promotional price), included features (WHOIS privacy, DNS management), and reputation for customer support. For more detail on the registration process, see how to register a domain name.

Register the Domain

Once you have chosen a name and a registrar, check whether the domain is available. If it is, you can register it for 1 to 10 years. Registration typically costs $8 to $15 per year for a .com domain, though prices vary by TLD and registrar. See how to check domain availability for tools and techniques.

During registration, you provide your contact information. This information is submitted to the domain registry and, depending on privacy settings, may be publicly visible through WHOIS lookups. Most registrars offer free WHOIS privacy protection that hides your personal details. For more on WHOIS, see the WHOIS guide.

Domain Names and Your Business

Brand Identity

Your domain name is often the first thing people associate with your business online. It appears in search results, on business cards, in email addresses, and in every link shared on social media. A domain that matches your brand name builds recognition and trust.

Email

Your domain powers your professional email address. [email protected] carries more credibility than a free email address. Custom email requires a registered domain with email hosting configured.

SEO

Domain names have a minor but real impact on search engine optimization. Exact-match domains (where the domain matches a search query exactly) carried significant weight in the past. Today, the impact is smaller, but a clear, brandable domain still helps users recognize and click your search results.

Value as an Asset

Domain names can appreciate in value. Short, memorable .com domains are finite and increasingly scarce. Businesses pay significant amounts for premium domains. Even a standard domain has value as part of your business identity and online presence.

Keeping Your Domain Name

Registering a domain is the first step. Keeping it requires ongoing attention.

Renewal

Your domain registration has an expiration date. If you do not renew before it expires, the domain enters a grace period and eventually becomes available for anyone to register. Losing a domain that your business depends on is a serious problem.

Enable auto-renewal at your registrar to reduce the risk of accidental expiry. But do not rely on auto-renewal alone. Payment methods expire, credit cards get replaced, and email addresses change. Set up independent monitoring so you know when your domain is approaching its expiration date.

For a complete guide to what happens when a domain expires, see what happens when a domain expires. For domain renewal best practices, see the domain portfolio guide.

Transfers

You can transfer a domain between registrars. This is common when switching to a registrar with better pricing or features. Transfers typically extend your registration by one year and take 5 to 7 days to complete.

Security

Protect your domain with a strong account password, two-factor authentication at your registrar, and a registrar lock (transfer lock) that prevents unauthorized transfers. Domain hijacking, where someone takes control of your domain, can be devastating for your business.

Key Takeaways

  • A domain name is the human-readable address of a website, like example.com.
  • Domain names are translated to IP addresses by the Domain Name System (DNS).
  • A domain consists of a TLD (.com), a second-level domain (the name you choose), and optional subdomains.
  • You lease a domain for 1 to 10 years through a domain registrar. You do not own it permanently.
  • Always enable auto-renewal and set up expiry monitoring to avoid losing your domain.
  • Your domain is part of your brand. Protect it with strong security and track its expiration carefully.

Never lose a domain to an expired registration

Domain Expiry Watcher monitors your domains and alerts you before they expire. Free for up to 3 domains.

Try Domain Expiry Watcher