Friday 12 June 2015

How Domain Names Work – All You (Really) Need to Know

Millions and millions of people all over the world browse the web every day. They browse it by typing in something called a domain name into the address bar of the web browser. The browser and technology behind it then does their magic and you get the website you requested. If you’re reading this, you know the drill.

But how exactly do domain names work and what are they anyway? Find out everything you wanted to know about domain names in our Ultimate Guide to Domains and DNS!

What is a Domain Name?

domain name or domain is a structured label which is connected to a specific IP (Internet Protocol) address of a server where the web page is being hosted. Here’s an example: http://www.domain.me is a domain name of our own site. You’ll notice we said that domains are structured labels. Let’s have a look at the structure of the domain.
How domain names work

The Structure of a Domain Name

Every domain consists of at least two parts: the actual domain name and the TLD or Top Level Domain. In our domain.me example, “.me” is the TLD of Montenegro and the “domain” part is a domain name or domain label we chose for our site. You’ve surely heard of some other top-level domains like .com, .net, .org, .info, .us etc.
Domains are under the jurisdiction of ICANN, the Internet Corporation for Assigned Names and Numbers which is responsible for creating new and maintaining current top-level domains.
On the other hand, you can choose your domain name and register it with a domain name registry. So, if you want to register this-is.me, go right ahead!
How domain names work
Now you know that a domain name consists of an actual name and the TLD suffix. There is also something called a subdomain, which is the third-level of a domain. If you own john.this-is.me domain, “.me” is top-level domain, “this-is” is the level 2 domain name and “john” is the subdomain of “this-is” domain. It’s really not that complicated; just follow the hierarchy from right to left.

What is DNS?

By now, you have learnt what domains are and that they consist of a domain name and TLDs like .me or .com. You also know that websites are hosted on servers all over the world. The problem is, the servers aren’t really recognized by domain names. TheyR#8217;re actually recognized by IP addresses. A typical IP address looks something like 72.167.131.92 (which happens to be the IP address of this blog; try to enter it into your browser, you should end up on domain.me website).
How domain names work
DNS stands for Domain Name System and it is a set of specialized DNS servers that have only one purpose: they serve as a database, or to be more precise – they serve as a phone book for connecting IP addresses with corresponding domain names. These servers are called name servers.

How DNS Works

The sole purpose of the DNS system is to make your browsing more comfortable. You really don’t want to remember all those number-dot-numbers-dot-more-numbers, right? It’s a lot easier to remember domain.me or some other domain. When you enter that pretty domain name, the browser will search through the DNS system and find the exact IP address of the corresponding website.
How domain names work
This is where domain name hierarchy really shines; if you want to open domain.me, the browser will first go to the root DNS records and try to find all the name servers within the .me top-level domain. It will then go to the first server on the list and try to find the actual IP address which is connected to domain.me. Once found, the browser knows the IP address of the “domain.me” domain and opens up the site. Magic.

No comments:

Post a Comment