Hosting Partners  |  About Us  |  Blog  |  Legal  |  Portal Login

The Planet Blog

 
Posts Tagged ‘tutorial’

Kevin HazardTechnology permeates our lives. We rely on GPS to take us to Grandma’s house; we stay up-to-date on friends we haven’t seen since high school via Facebook; and we are far more connected to the world around us than we ever thought possible. The fact that you are reading this blog, in one form or another, means you’re a part of this technology revolution. But it begs the question: Do you know how you are interacting with the world through the Internet?

I’m utterly unqualified to discuss an answer to that question metaphysically or philosophically, but I can take a crack at a crash course in hosting that will begin to answer the question literally. It’s the elephant in the room: In the simplest terms, how does the Internet work?

I’ve seen that there is steep learning curve for people outside the hosting industry when it comes to a general understanding of the technical answer to that question. The answer is not overly complicated or obscure … The sentiment is that by the time someone needs hosting, they’ll know how hosting works. The fact that you are reading this entry on The Planet’s blog would suggest you already know a fair amount about what hosting is and how the Internet works. So please bookmark this blog post as a resource to reference when your less-technically-savvy friends ask you to explain what you mean when you say you work online and host your own website.

I’m suggesting all of my friends read this post, so when anyone happens to mention Web sites, e-mail or computers, they can amaze their associates with their stellar understanding of the infrastructure and the behind-the-scenes goings-on of the Internet. Trust me: When you pass along this explanation as your own in the “real world,” everyone in earshot will be in awe.

If, as a rule, you don’t associate with non-technically-savvy people, please feel free to stop reading this post here.

The Internet: Under the Hood

  1. You access a device connected in some way to the Internet. This device can be a cell phone, a computer or even a refrigerator. You are connected to the Internet through an Internet Service Provider (ISP) which recognizes that you will be accessing various sites and services hosted remotely. Your ISP is a network connected to the other networks on the planet (which is where we get the term “Internet” or “inter” “network”: Activity travels across multiple networks).
  2. You enter a domain name or click a URL (for this example, we’ll use http://www.google.com).

Hosting 101

  1. Your ISP will see that you want to access “www.google.com” and will immediately try to find someone/something that knows what “www.google.com” means … this search is known as an NS (name server) lookup. In this case, it will find that “www.google.com” is associated with several name servers.

Hosting 101

  1. The first of these four name servers to respond with additional information about “google.com” will be used. Domains are typically required to be associated with two or three name servers to ensure if one is unreachable, requests for that domain name can be processed by another.
  2. The name server has Domain Name System (DNS) information that essentially maps “www.google.com” to an Internet Protocol (IP) address. When a domain name is purchased and provisioned, the owner will associate that domain name with a specific IP address by creating DNS records. Think of DNS as a phone book that translates a name into a phone number for you.

Hosting 101

  1. When the IP address you reach sees that you requested “www.google.com,” it will find the files/content associated with that request. Multiple domains can be hosted on the same IP address, just as multiple people can live at the same street address and answer the phone. Each IP address only exists in a single place. (There are some complex network tricks that can negate that statement, but in the interest of simplicity, we’ll ignore them.)
  2. Depending on what content you are accessing, the response from the server can be very simple or very complex. In some cases, the request will return a single HTML document. In other cases, the content you access may require additional information from other servers (database servers, storage servers, etc.) before the request can be completely fulfilled. This process is typically transparent to you as the end user, but it’s important to note when you are trying to understand the complexity of what seems like such a simple request.
  3. When the requested content is located (and generated by other servers if necessary), it is returned to your browser in HTML code.

Hosting 101

  1. Your browser takes that code and translates the formatting and content to be displayed on your screen. Often, formatting and styling of pages will be generated from a Cascading Style Sheet (CSS) referenced in the HTML code. The purpose of the style sheet is to streamline a given page’s code and consolidate the formatting to be used and referenced by multiple pages of a given website.

Hosting 101

  1. The HTML code will reference sources for media that may be hosted on other servers, so the browser will perform the necessary additional requests to get all of the media the website is trying to show. In this case, it needs to pull in the Google logo from this location: http://www.google.com/intl/en_ALL/images/logo.gif

Hosting 101

When the HTML is rendered and the media is loaded, your browser will probably note that it is “Done,” and you will have successfully navigated to “www.google.com” in 10 easy steps! I know it seems like a daunting and complex process, but it happens in a matter of milliseconds each time you use the Internet.

Pretty crazy, huh?

-Kevin

 
 

Dedicated Servers

Managed Hosting

Colocation

Business Solutions

Why The Planet?

Contact Us