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 to do if your Email Account is sending Spam

If spam is being sent out from your email account, your email address has either spoofed or...

Can I host more than one site per account?

It depends on whether you want each site to have its own domain name or not. If you don't mind,...

Ports Used for cPanel, Email, Web

The following is a list of commonly used ports that that we use: cPanel cPanel: 2082 (SSL...

What is an SSL/TLS certificate?

Whenever you or your visitors access a website through a secure, encrypted connection, that...

How to clear your local DNS cache in Windows?

You can flush your local DNS cache in Windows by following these easy steps: Open Start menu...