A domain name is your website’s address on the internet, like example.com. You rent it from a domain registrar, usually for about $10–$20 a year, and point it to your website and email using DNS.
If you’re starting a business website, or you’re a beginner web designer helping a client, one of the first questions is usually: “What’s a domain name, and do I need one?” It’s also one of the most confusing parts of launching a website. Plenty of people mix up a domain name with web hosting, even after paying for both.
Behind the scenes, a system called DNS (Domain Name System) translates that easy-to-remember name into the numeric address of the server where the website lives. Registering a domain gives you the right to use that name for a set period, and renewing it on time is what keeps your website, and any email tied to it, from disappearing.
This guide explains what a domain name is and how its parts work, how DNS connects it to a website and email, how to choose and register one, what it costs, and how to renew, transfer, and protect it.
What Is a Domain Name?
A domain name is the readable name you type into a browser to reach a website. Every device on the internet has a numeric IP address, like 203.0.113.10, but numbers are hard to remember. Domain names give those addresses a human-friendly name.
A domain is used for more than just a website. It’s also the part after the @ in a professional email address like [email protected], and the website and email can be set up completely separately, even with different companies.
The Parts of a Domain Name
Domain names are read from right to left, from the most general part to the most specific:
| Part | Example | What it is |
|---|---|---|
| Top-level domain (TLD) | .com | The extension at the end |
| Second-level domain | victorhugosolis | The name you choose and register |
| Subdomain | www, blog, shop | An optional prefix you can create for free once you own the domain |
So in blog.example.com, example.com is the domain you register, and blog is a subdomain you can point anywhere you like, such as a separate blog or online store.
Types of Domain Extensions
- Generic TLDs (gTLDs): the classic extensions, like
.com,.net, and.org, open to almost anyone. - Country-code TLDs (ccTLDs): two-letter extensions for countries, like
.us,.mx,.ca, and.uk. Some have their own rules, such as requiring a local presence. A few, like.io,.co, and.ai, are popular worldwide with tech companies. - New gTLDs: hundreds of newer extensions, like
.shop,.design,.studio,.agency, and.app. - Sponsored and restricted TLDs: extensions limited to specific groups, like
.gov(U.S. government) and.edu(accredited U.S. colleges and universities).
When in doubt, .com is still the safest choice. It’s the extension most people remember and type by default. If the .com you want is taken, a relevant country code (like .us) or a clear industry extension can work well.
Domain Name vs. Web Hosting
These two are easy to confuse, but they do different jobs:
- A domain name is the address: the name people type to find your site.
- Web hosting is the building: the server where your website’s files actually live. (See What Is Web Hosting? How It Works, Types, and Costs.)
A domain without hosting points nowhere, and hosting without a domain is only reachable through a raw IP address or a temporary address. You need both. Many hosting companies sell domains too, but you can buy them from different companies and connect them. Some people prefer to keep them separate, so if they ever change hosts, the domain stays put.
How DNS Connects a Domain Name to a Website
DNS works like the internet’s phone book. When someone types your domain into a browser:
- The browser asks a DNS resolver (usually run by their internet provider, or a service like Cloudflare’s
1.1.1.1or Google’s8.8.8.8) where your domain lives. - The resolver finds your domain’s nameservers, the servers that hold the official DNS records for your domain.
- The nameservers answer with the right IP address.
- The browser connects to that server and loads your website.
All of this usually takes a fraction of a second, and answers are saved (cached) for a while so the next visit is even faster.
Nameservers
Your nameservers decide who manages your domain’s DNS. By default, they usually belong to your registrar. If you point them to your hosting company or a service like Cloudflare, that company’s DNS settings control your domain. Pointing your nameservers is one common way to “connect” a domain to a host; the other is to keep your registrar’s nameservers and just edit the DNS records.
Common DNS Records
| Record | What it does | Example use |
|---|---|---|
| A | Points a name to an IPv4 address | example.com → your web server |
| AAAA | Points a name to an IPv6 address | The same, for IPv6 |
| CNAME | Points one name to another name | www.example.com → example.com |
| MX | Says which servers receive email for the domain | Email through Google Workspace or Microsoft 365 |
| TXT | Holds text information | Verifying your site in Google Search Console, and email security (SPF, DKIM, DMARC) |
| NS | Lists the domain’s nameservers | Delegating DNS to your host or Cloudflare |
DNS Changes and Propagation
When you change a DNS record, the update doesn’t always appear everywhere at once. Resolvers around the world keep cached copies for as long as the record’s TTL (time to live) says, so changes can take anywhere from a few minutes to, occasionally, up to 48 hours to reach everyone. This delay is often called DNS propagation. (For more on TTL, see Networking Concepts Explained: CDNs, VPNs, QoS, and TTL.)
Tip: if you’re planning a move to a new host, lower your records’ TTL a day ahead so the switch takes effect faster.
Your Domain and Email
To use email like [email protected], you need an email service, such as Google Workspace, Microsoft 365, Zoho Mail, or the email included with many hosting plans, plus the right MX records pointing to it.
You should also set up three TXT records that prove your email is really from you:
- SPF: lists the servers allowed to send email for your domain
- DKIM: adds a digital signature to your messages
- DMARC: tells other email providers what to do with messages that fail those checks
Without them, your emails are more likely to land in spam, and scammers can more easily send fake emails that look like they come from your domain. Gmail and Yahoo now require these records from anyone sending large amounts of email. (See What Is Email Marketing? A Beginner’s Guide.)
How to Choose a Good Domain Name
A good domain name is easy to remember, easy to type, and clearly connected to your business:
- Keep it short. Fewer words and characters mean fewer typos.
- Make it easy to say and spell. Imagine telling it to someone over the phone. Avoid unusual spellings, and avoid hyphens and numbers when you can.
- Match your brand. Your business name is usually the best choice. Adding your city or service can help if your name is taken, like
smithlandscapingelcentro.com. - Check for trademarks. Don’t use a name that belongs to another company; it can lead to legal problems and lost domains.
- Check social media. Ideally, the same name is available on the social platforms you plan to use.
- Consider protecting variations. Some businesses also register common misspellings or other extensions and redirect them to their main domain.
How to Register a Domain Name
Registering a domain is straightforward:
- Choose a registrar (see the options below).
- Search for your name and pick an extension, such as
.com. - Choose a registration period, usually from 1 to 10 years.
- Enter your contact information. Use accurate details and an email address you check regularly, since that’s where renewal and security notices go.
- Turn on auto-renew and privacy protection, and pay.
Domain names can include letters, numbers, and hyphens, up to 63 characters before the extension. Many registrars also support names with accented and non-Latin characters, though they can be harder for people to type.
What Does “Registering” a Domain Actually Mean?
People say they “bought” a domain, but registration actually gives you the right to use the name for a set period, which you can keep renewing as long as you like. The system has a few players:
- ICANN (the Internet Corporation for Assigned Names and Numbers) is the nonprofit that coordinates the domain system worldwide and accredits registrars.
- The registry runs a specific extension. For example, Verisign runs
.comand.net. - The registrar is the company you register and manage your domain through, which works with the registry on your behalf.
- The registrant is you, the person or business that holds the registration.
Make sure you or your business is listed as the registrant, not your web designer or an employee. If someone else registers your domain in their name, getting it back can be difficult.
Domain Privacy and Your Public Information
Registrars have to collect your name, address, email, and phone number. Some of that information used to be published openly in the public WHOIS database, where anyone, including spammers, could look it up. Today, most registrars hide personal details by default or offer free privacy protection. The lookup system itself is also being modernized: ICANN has replaced WHOIS with a newer system called RDAP for generic domains.
What Does a Domain Name Cost?
| Type | Typical price |
|---|---|
Common extensions, like .com, .net, .org | About $10 to $25 per year |
Some new or specialty extensions, like .io, .ai, .studio | Often $30 to $100+ per year |
| Premium names (short, common words) | Hundreds to thousands of dollars, or more |
| Previously owned names sold by their current holder | Whatever price the seller sets |
A few things to watch for:
- Introductory prices. Many registrars offer a cheap first year, then charge much more to renew. Always check the renewal price, not just the first-year price.
- “Free domain” offers. Hosting plans often include a free domain for the first year only. That’s fine, but make sure you know the renewal price and that the domain is registered in your name.
- Extra fees. Privacy protection should be free; be cautious of registrars that charge for it or add many paid extras during checkout.
Where to Register a Domain Name
You can register domains through many ICANN-accredited registrars. Some popular, reputable options:
- Cloudflare Registrar: sells domains at cost, with no markup, plus free DNS and security features (supports many but not all extensions)
- Porkbun: low prices, free privacy protection, and a simple interface
- Namecheap: popular, affordable, with free privacy protection
- Squarespace Domains: took over Google Domains customers in 2023
- GoDaddy: one of the largest registrars, with many extensions
- Hosting companies like Hostinger, Bluehost, and HostGator, which can register a domain together with your hosting plan
For a step-by-step walkthrough of buying hosting and a domain together, see Get Web Hosting and Register a Domain Name.
How to Choose a Registrar
- Renewal prices, not just the first-year discount
- Free privacy protection
- Security features, like two-factor authentication and registrar lock
- Easy DNS management and good support
- Clear transfer and expiration policies, with no hidden fees to move your domain away
Renewing Your Domain: Don’t Let It Expire
A domain registration isn’t permanent. When it expires, your website and email stop working. If it’s still not renewed, it goes through several stages before anyone else can take it. The exact timing depends on the extension and registrar, but for .com domains it usually looks like this:
- Expiration: the website and email stop working.
- Grace period (often around 30 days): you can usually still renew at the normal price.
- Redemption period (about 30 days): you can recover it, but usually only by paying an extra, often expensive, fee.
- Pending delete (about 5 days): the domain can’t be recovered.
- Released: anyone can register it, including people who watch for expired domains to resell them at high prices.
Losing a domain can mean losing years of search rankings, your email history, and your customers’ trust overnight. To prevent it:
- Turn on auto-renew.
- Keep your payment method current, and update the card on file when it expires.
- Keep your contact email current. Use an email address that isn’t on the domain itself; if the domain expires, email on it stops working, and you could miss the warnings.
- Register for several years for important domains.
- Put renewal dates on your calendar as a backup.
Transferring a Domain to Another Registrar
You can move your domain to a different registrar, often to get better prices or features:
- Unlock the domain at your current registrar.
- Get the authorization code (also called an EPP or auth code).
- Start the transfer at the new registrar, enter the code, and pay; the price usually includes one extra year of registration.
- Approve the transfer if you get a confirmation email.
Domains usually can’t be transferred within 60 days of being registered or transferred. If you only want to change who hosts your website, you don’t need to transfer the domain at all; you just update its DNS records or nameservers.
Protecting Your Domain
Your domain is one of your business’s most important assets. Protect it like one:
- Use a strong, unique password and two-factor authentication on your registrar account. If attackers get into it, they can redirect your website and email. (See Two-Factor Authentication (2FA) Explained: Methods, Risks & Setup.)
- Keep registrar lock (transfer lock) turned on, so no one can move your domain without your approval.
- Turn on DNSSEC if your registrar and DNS provider support it. It helps stop attackers from sending visitors to fake versions of your site.
- Watch out for domain scams. Businesses often receive official-looking letters or emails warning that a domain is about to expire, or offering “search engine registration” for a fee. Many are scams trying to trick you into transferring your domain or paying for something useless. Only renew through your own registrar’s website.
Conclusion
A domain name is the address that makes your website and email findable. DNS connects that address to the right servers. And registration is a renewable right to use the name, not a one-time purchase. Understanding how these pieces fit together is one of the most practical skills you can learn when building a website.
Choose a short, memorable name, register it with a reputable registrar in your own name, turn on auto-renew, privacy protection, and two-factor authentication, and keep an eye on renewal dates. Once your domain is connected and your site is live, make sure people can find it. (See How to Submit Your Website to Search Engines: A Beginner’s Guide.)
