Domain Names & Hostnames

  • February 19, 2004
  • Read 138,412 times
 

Introduction

When you use the Internet, you use domain name and hostnames all the time. These hostnames and domain names when put together become the Internet address that you search with. The domain name without a hostname is also the most common email address. This article will explore what hostnames and domain names are and how they are used. We will also discuss TLD's, or Top Level Domains, such as .Com, .Net, .Org, etc.

Domain Names

Domain Names are the unique name that identifies an entity, whether that be an single individual or a company, on the Internet. Domain Names always have 2 or more parts seperated by the dots. The leftmost piece is the most specific part while the right part is the TLD or Top Level Domain.. Lets disect a domain name so you can see what were are talking about.

Take the domain name bleepingcomputer.com. This domain name consists of two parts. The leftmost part is the word that identifies the entity, in this situation its bleepingcomputer. This is a unique name and there can not be any duplicates on the rest of the Internet that are used by anyone else. The second part, or the rightmost part is the TLD, or Top Level Domain. This is .Com which means that it is a commercial organization.

In the beginning there were only 5 Global TLD's that were recognized by everyone. These TLD's are discussed below:

.com
 
This TLD is intended for Commercial business around the world.
 
.net
This TLD is historically and is still used by Internet Service Providers.
.org
This TLD is intended to search the noncommercial community.
.mil
This TLD is restricted to use by the United States Military.
.gov
This TLD is restricted to use by United States Government Agencies.

As the Internet grew and expanded throughout the world, new TLD's were created to represent different countries. For example the TLD .uk is for the United Kingdom and .au is for Australia. As more and more domains were registered, available domain names in the above TLD's were hard to come by. Due to this more TLD's such as .biz, .info, .name were created to allow more people to register domain names that fit their needs.

Hostnames

Hostnames can be a confusing as they have a double meaning. The hostname of an Internet Address is all of the left most pieces of a full internet address if there are more than 2 parts to the address. If there are only 2 parts of the address, then the hostname is equivalent to the domain name.

Here are some examples:

Full Address
Hostname
Domain Name/Subdomain
TLD
www.bleepingcomputer.com
www
bleepingcomputer.com
com
bleepingcomputer.com
bleepingcomputer.com
bleepingcomputer.com
com
www.google.net
www
google.net
net
my.www.bleepingcomputer.com
my
www.bleepingcomputer.com
com

As you can see from the examples the hostname can be many different things.

  • If the entire address consists of only 2 parts, then the hostname is equivalent to the domain name.
  • If the entire address consists of more than 2 parts, then the hostname is equivalent to the left most pieces before the first period.

To make things even more confusing, you can refer to the full address in its entirety as a hostname. For example, with www.bleepingcomputer.com:

  • Bleepingcomputer.com is the domain name.
  • www is the hostname
  • www.bleepingcomputer.com is the hostname as well!!!

Conclusion

As you can see hostnames can lead to a bit of confusion, but once you understand them, which you should now, you should not have much trouble using these terms. I hope you found this tutorial informative, and you would like to discuss this forum please do so in the tutorials section of the forums.

--
Lawrence Abrams
Bleeping Computer Basic Internet Concepts Series
https://www.bleepingcomputer.com
Source of Original Content, Tutorials, Help and Computer Basics for the beginning or novice computer user.

Users who read this also read:

  • What is Domain Name Resolution Image
    What is Domain Name Resolution

    When using the Internet most people connect to web sites, ftp servers or other Internet servers by connecting to a domain name, as in www.bleepingcomputer.com. Internet applications, though, do not communicate via domain names, but rather using IP addresses, such as 192.168.1.1. Therefore when you type a domain name in your program that you wish to connect to, your application must first convert ...

  • The Domain Name System Image
    The Domain Name System

    A key component of the Internet and how it works revolves around the Domain Name System, otherwise known as DNS. The underlying technology behind the Internet, is that when a computer needs to talk to another computer on the Internet, they communicate via the computer's IP Address. The IP Address is a unique set of numbers associated with a particular machine, which will be discussed in a ...

  • IP Addresses Explained Image
    IP Addresses Explained

    Every machine on the the Internet has a unique number assigned to it, called an IP address. Without a unique IP address on your machine, you will not be able to communicate with other devices, users, and computers on the Internet. You can look at your IP address as if it were a telephone number, each one being unique and used to identify a way to reach you and only you.

  • How the Web Works Image
    How the Web Works

    For many of us, the Internet and Web Browsing has become a daily activity. Whether it is for checking stock prices, buying food, doing work, ordering books and music, or just to browse a favorite site, web browsing has become an institution in our lives much the way television is. Have you ever wondered how this whole web thing works, though? This tutorial is designed to explain the history and ...

  • TCP and UDP Ports Explained Image
    TCP and UDP Ports Explained

    In this tutorial we will discuss the concept of Ports and how they work with IP addresses. If you have not read our article on IP addresses and need a brush up, you can find the article here. If you understand the concepts of IP addresses, then lets move on to TCP and UDP ports and how they work.

 

Comments:

blog comments powered by Disqus
search tutorials
Mandiant mWise Conference 2024

Login