What Actually Happens When You Enter That Web Address In Your Browser?

By: John Lenaghan
Submitted: 2007-01-17 13:08:07
Print this article | Tell a friend | For publisher | Social Bookmarking
Rating:
 

Whenever your click on a link or type an address into your web browser you're making a "request" for that particular page. That request is handled by what is known as the Hyper Text Transfer Protocol (HTTP). The request gets routed over the internet to the appropriate server and if everything goes according to plan, that server will send the page requested back to your browser.

HTTP is an integral part of the Internet Protocol (IP) suite. It's used by browser software to connect to the server that holds the website you want to see. The server watched for these requests by monitoring what is called a TCP port (port 80 in most cases).

Transmission Control Protocl (TCP) is the protocol that creates connections between two computer over the internet, allowing them to pass data back and forth. TCP is made to allow the transmitted data to be reassembled into the proper form when it reached its destination.

There are a number of TCP ports that monitor specific protocols. For example, TCP port 21 is normally used for FTP (File Transfer Protocol) and port 80 is normally used for HTTP (web browsing).

If a web server gets a request on port 80 in the form of GET / HTTP/1.1 it sends a response code that tells the requesting computer whether the page is available or not. A typical request will look like this:

GET /faq.html HTTP/1.1
Host: http://www.mywebsite.com

This request is for a web page at http://www.mywebsite.com/faq.html. The "host" is specified to identify a particular website on that server (in the case of shared hosting, there can be many sites on one server).

If the faq.html page is available, the response will be:

HTTP/1.1 200 OK
Date: Mon, 15 November 2005 13:22:54 GMT
Server: Apache/1.3.27 (Unix) (Red-Hat/Linux)
Last-Modified: Wed, 23 Aug 2005 08:23:33 GMT

...after which the contents of the actual web page will follow.

Let's break that response down...

HTTP/1.1 200 OK means that particular web page is available. Other codes may be returned. For example, the code 404 means the requested page cannot be found. You've probably seen 404 errors when you've clicked a link to a non-existent page or misspelled a web site when you entered in in your browser.

The date is self explanatory and the server is information about the software running on the server that is hosting the web page.

When the web page is being sent to your browser, it gets sent in "packets" of information. The header also contains information that specifies its order in the stream. These packets can be sent through various routes to get to your computer, so they all get reassembled by your browser when they arrive.

This normally all takes place in seconds, so you see the web page as it was meant to be seen even though all the various packets may have taken completely different paths from the server to your computer.

John Lenaghan writes about Unix & Windows web hosting and related topics on the Hosting Report website. Find out more at http://www.hostingreport.org

Article source: Expert Articles

Most Recent Articles in Domain Names category

  • What Everybody Ought To Know About Domain Reselling Business - By: Sandra Mathew
    Domain Reselling Business Ethics - Learn how Domain Resellers jumpstart their business in the Domain and Hosting Industry.
  • It's good form to credit your source even when it comes from the public domain - By: Narinderjit Singh
    "Okay, well what will your site be on?" He encouraged me to think about the things in which I was an expert. That wasn't too tough. I've spent five years helping people in crisis find drug addiction treatment. "How about if I help people understand drug addiction treatment." Now he was sure I had taken too many falls, and that they had all been while riding without a helmet. More out of pity than duty, he showed me how to use Overture's bid tool.
  • Domain selection - 5 Tips for choosing a domain name - By: George Pallan
    Domain selection - 5 Tips for choosing a domain name The domain name is a very important part of your website. The careful selection and key wording of your domain name is one of the most crucial part of the initial steps in setting up any website. Here are the 5 tips for choosing a domain name.
  • The Quest for the Perfect Domain Name - By: Christie Cadogan
    The details one has to consider when searching for that perfect domain name. Domain name choices.
  • Choosing a Domain Name for your Success Coaching Business - By: Mikel Bruce
    Your domain name is one of the most important decisions that you can make when you start your business and/or when you decide to invest in a website for your Coaching Practice. Even if you have an established website and domain name, if it does not fit certain standards you may want to consider changing it so that it is a more effective tool for helping you grow your business
  • Benefits of Choosing Reseller Hosting - By: Richa Sinha
    Reseller hosting is a form of web hosting wherein the account owner may split up their allotted hard drive space and bandwidth and resell web hosting. Hence, it acts as a middleman between parent web hosting company and the end customer.
  • Domain name – An Introduction! - By: Richa Sinha
    A domain name is a name that identifies one or more IP address. These are mainly used in URLs to identify particular web page. This article elaborates more about types of domain names.
  • Simple Step For Choosing Great Web Host - By: Richa Sinha
    There are thousands of web hosts around today with thousands of plans to choose from making what was once a simple procedure seem like a daunting task for both newbie and pro alike.
  • Some Common Myths Against Domain - By: Richa Sinha
    Applicants for domain names have developed their own myths. Some have been repeated so often, they sound true. Those untold information is what this paper is going to tell you.
  • What You Need to Know About Choosing A Domain Name - By: Andrea J. Lee
    Aside from the nuts and bolts of where to register your domain name and purchasing a good economical hosting service, there are a few things to know about buying a good domain name, that only experience can teach. Here are a few tips to get you started on the right foot:1. Buy only ".com" and don't trouble yourself with the others.