A domain name is the text address you type into your browser to reach a website

When you type google.com or amazon.com into your browser's address bar, you are typing a domain name. It is the human-readable version of a website's actual location on the internet. Without domain names, you would have to memorize long strings of numbers called IP addresses — something like 142.251.41.14 — to visit any website. A domain name translates that number into words you can actually remember and type.

Every domain name has two main parts separated by a dot. The first part — google or amazon — is the name the owner chose. The second part — .com or .org — is called the top-level domain or TLD. The TLD tells you something about the site's purpose or location. .com originally meant commercial, .org meant organization, and .edu means educational institution. Today, .com is the most common and is used for almost any type of site.

Key Takeaways

  • A domain name is the text address you type into your browser, like amazon.com, and it translates to a numeric IP address that computers use to find websites.
  • Domain names have two parts: the name you choose (amazon) and the top-level domain (.com, .org, .edu), which tells you something about the site's purpose.
  • You must register a domain name through a registrar — a company authorized to sell them — and pay an annual fee, usually between $10 and $15 per year.
  • A domain name is separate from web hosting; owning the name does not mean you own the server where the website's files actually live.

How domain names connect to actual websites

When you type a domain name into your browser, your computer does not when ready know where to go. Instead, it sends a request to a DNS server — DNS stands for Domain Name System. Think of DNS as a phone book for the internet. The DNS server looks up the domain name you typed and returns the IP address associated with it. Your browser then uses that IP address to contact the actual server where the website's files are stored.

This system exists because IP addresses are hard for humans to remember, but computers need them to communicate. A domain name is straightforward a label that points to an IP address. You own the label (the domain name), but the files that make up the website live on a separate computer called a web server, which you either own or rent from a hosting company.

Who sells domain names and how much they cost

Domain names are sold by registrars — companies authorized by ICANN (the Internet Corporation for Assigned Names and Numbers) to register and manage domain names. Common registrars include GoDaddy, Namecheap, Google Domains, and Network Solutions. You visit a registrar's website, search for the domain name you want, and if it is not already taken, you can register it.

Most domain names cost between $10 and $15 per year. Some registrars charge less for the first year as a promotion, then raise the price for renewal. Certain TLDs — like .io or .co — cost more, sometimes $25 to $40 per year. You must renew your domain registration every year or it expires and becomes available for someone else to buy. Many registrars offer auto-renewal, which charges your credit card automatically each year.

The difference between a domain name and web hosting

A common source of confusion is thinking that registering a domain name means your website is live on the internet. It does not. Registering a domain name is like buying a street address for a building that does not exist yet. You own the address, but you still need to build the house and put it somewhere.

Web hosting is the service that provides the actual server — the computer that stores your website's files and makes them available 24/7. You can register a domain name through one company (like Namecheap) and host your website on a different company's server (like Bluehost or AWS). Many registrars also offer hosting, but you are not required to buy both from the same place. You point your domain name to your hosting server using DNS settings, which tells the internet where to find your website's files when someone types your domain name.

What happens if your domain name expires

If you do not renew your domain registration before it expires, the registrar stops managing it. For a period of time — usually 30 to 90 days — you can still renew it, though you may pay a late fee. After that grace period, the domain becomes available for anyone to register. If someone else buys it, you lose control of it permanently, and your website becomes unreachable at that address.

This is why auto-renewal is useful: it removes the risk of forgetting to renew. However, you should still check your registrar account occasionally to make sure your contact information is current, so you receive renewal reminders if auto-renewal fails.

Subdomains and how they relate to your main domain

A subdomain is a prefix added to the front of your main domain name. For example, if your domain is example.com, you could create a subdomain like blog.example.com or shop.example.com. Subdomains point to different sections or purposes within your website, or sometimes to entirely different websites on different servers.

You do not need to register subdomains separately — they are created and managed through your domain registrar or hosting control panel. Creating a subdomain is usually free and takes just a few minutes. This is useful if you want to organize different parts of your web presence under one main domain name.

Domain names and privacy

When you register a domain name, your contact information — name, address, phone number, and email — becomes part of the public WHOIS database. Anyone can look up your domain and see this information. If you want to keep your personal information private, most registrars offer WHOIS privacy protection or domain privacy for an additional fee, usually $5 to $10 per year. This replaces your real contact information with the registrar's contact information in the public database.

Privacy protection is especially useful if you register a domain for a business and do not want your home address publicly listed, or if you straightforward prefer not to have your personal information searchable online.

Frequently Asked Questions

Can I change my domain name after I register it?

No, you cannot change a domain name once it is registered. If you want a different name, you must register a new domain. However, you can set up a redirect so that your old domain automatically sends visitors to your new one, which helps preserve traffic and search engine rankings.

What happens if the domain name I want is already taken?

If someone else owns the domain you want, you cannot register it. You can check if the owner is willing to sell it by looking up their contact information through WHOIS, but many owners will not sell. Your alternatives are choosing a different name, using a different TLD (like .net instead of .com), or waiting to see if the current owner lets it expire.

Do I need a domain name to have a website?

Technically no — your hosting provider usually gives you a temporary address you can use. However, a domain name is inexpensive and makes your website much easier for people to find and remember. It also looks more professional and is necessary if you want to use your own email address (like yourname@yourdomain.com).

Can I use the same domain name with different hosting companies?

Yes. Your domain name and your hosting are separate services. You can register your domain with one company and point it to a server hosted by a completely different company. You do this by changing your domain's DNS settings to point to your hosting provider's servers.