What are domain names? How do they work?

Every server in the world that has access to the Internet has at least one IP address -- to a computer, this is like a phone number. An example of an IP address is 74.125.45.100.

Instead of having to remember a bunch of numbers, domain names allow us to assign a name to those numbers. Without domain names, you would have to enter an IP address every time you wanted to visit a website. Isn't google.com much easier to remember than 74.125.45.100?

Domain names can contain letters, numbers, and hyphens. They can be hundreds of characters in length, but the shorter the domain, the better.

This picture shows an example of why very long domains are a bad idea. More on this in the next tutorial.

In order for your computer to figure out what IP address to use for a domain name, it has to connect to a nameserver, also called a DNS server. That server connects to another server, which connects to another, and so on, until a server is encountered that knows the right IP address for the domain name.

When you purchase a domain name, you then tell the domain registrar that all requests for an IP address for that domain name should be directed toward your hosting provider's nameservers.

You'll find out more about domain registrars and how to buy a domain name a few tutorials later in this series.

Once you've informed your web host the domain you plan to use, they'll configure their nameservers to give your domain name a specific IP address.

Usually you'll share an IP address with many other domain names. You can also purchase a dedicated IP address from your web host, and that will be yours alone to use. Whichever the case, the important thing is that you have an IP address assigned to your domain, and that all the right nameservers know what it is.

This completes the tutorial. You now know what domain names are, and a little bit about how they work.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

What are parked and addon domains? What about subdomains?

A Parked domain is a domain name that leads to the same website as another domain name. The...

How to block search bots from accessing your site?

In order to block all bots from accessing your site, you should create a robots.txt file with the...

What are PHP, Perl, Python, and Ruby on Rails?

Those are all web programming languages, also known as scripting languages. PHP is the most...

What is an email auto-responder?

An email auto-responder is exactly what you'd expect based on the name. Inside most control...

Propagation Times

Propagation is the process of updating a domain with new nameserver (DNS) information across all...