.: What Happens When You Visit An Internet Website?

By:Ron King

Category:Home / Internet / Web Hosting

Time For Some Alphabet Soup



Whenever you type an address into your web browser, or click on a link in a web page, you are making a request for a certain document. Handled by the Hyper Text Transfer Protocol (HTTP), your request is sent over the Internet to the server that holds the document you want. Assuming all goes well, the server will respond by sending the document, usually a web page consisting of text and graphics.



Exactly what is HTTP? It is part of the Internet Protocol (IP) suite, and is used by a "client," such as a web browser, to establish a connection with the server that hosts a particular website. The server monitors TCP port 80 as it waits for incoming requests.



Connections on the Internet that allow 2 computers to exchange data are created by the Transmission Control Protocol (TCP). TCP is equipped to identify the requesting computer, and to properly transmit data to its destination.



Server To Web Browser -- Behind The Scenes



Several TCP ports are available with standardized uses. For example, TCP Port 21 is usually reserved for FTP (File Transfer Protocol) for uploading and downloading files. Port 80 is usually used for HTTP.



If the server receives a request string on TCP port 80 in the form of GET / HTTP/1.1 it will send a response code, depending on whether the requested web page is available or not. A typical request will look like this:



GET /faq.html HTTP/1.1

Host: http://www.mywebsite.com



This is a request for the page "faq" on the host site "mywebsite". The "host" must be specified to distinguish between websites that are hosted on shared servers. If faq.html is available, the server will respond something like:



HTTP/1.1 200 OK

Date: Mon, 12 October 2005 22:38:34 GMT

Server: Apache/1.3.27 (Unix) (Red-Hat/Linux)

Last-Modified: Wed, 08 Jan 2003 23:11:55 GMT

... followed by the actual web page.



How Data Gets Where It's Going



The first line above, HTTP/1.1 200 OK, means that the requested web page is available. Other codes may also be returned. For example, the code 404 means the server cannot find the requested page.



When found, the web page is sent via TCP as a series of data packets, each with a header that specifies its destination and its order in the data stream. The various packets can take different paths to reach their destination.



Each is sent through a router, which polls other routers close by. If a connection with the first router is unavailable, the data will be sent through another one. This allows the data to reach its destination as quickly as possible.



What Happens When It Gets There



When the web browser receives the data, it sends back an acknowledgement. This insures that all the packets have been received within a certain time. If not, they will be re-transmitted by the server. TCP also checks to be sure the data is undamaged.



The data is then reassembled in the correct order, thanks to the sequence number of each data packet.



And Presto! The web page appears on your computer screen, usually in a few seconds.

Digg del.icio.us Blink Stumble Spurl Reddit Netscape Furl

Article keywords: web hosting

Article Source: http://www.articles32.com

Visit Hosting Solutions to learn more. Ron King is a full-time researcher, writer, and web developer, visit his website at Website

Copyright 2005 Ron King. This article may be reprinted if the resource box is left intact and the links live.







.: New Web Hosting Articles

1). Virtual Web Servers: Perfect For Mid-Sized Web Hosting Needs
The internet has exploded over the last ten years with many people doing more and more tasks online everyday. As the internet continues to grow, the amount of space available for web sites to expand will shrink.

2). How to Make a Painless Move to a New Web Host
There are two things that can go seriously wrong when you move to a new web hosting provider. Follow this simple guide to doing it all without too many dramas.

3). Choosing the Best WAHM Website Hosting
This article will show you how to get the best bang for your buck when selecting webhosting for your website and business.

4). Web Hosting Options
There are more options for web hosting than ever. There are hosting plans and services to fit any budget. Another option is running your own server.

5). What to Look For When Choosing a Web Host
The purpose of your web site determines what you need to look for from a web hosting service. A hobby site has very different needs to that of a business site.

6). Dedicated Hosting is the Only Way to Go
Why use dedicated hosting? Is it better than virtual hosting? Find out what will suit your needs in this article.

7). Why Some People Prefer Canadian Web Hosting Over American
Canadian web hosting tends to be preferred over American web hosting. This preference is due to the features they offer.


.: Top Web Hosting Articles

1). Discovering The Personal And Professional Benefits Of Myspace
If you have been thinking of creating a website for your company, then you are already aware of the amazing benefits of having a corporate presence online. Tapping into the internet community is a proven way to increase your company's visibility, improve sales, attract new clients, and more. But have you ever wondered: if a website can do wonders for my profession, can it work magic in my personal life, too? Most importantly, is there a service that can benefit me both personally and professionally? Chances are you have heard of MySpace.

2). BlueHost and Fantastico
BlueHost and Fantastico go so well together that they lend themselves to all sorts of timeless comparisons: Burns and Allen, Astaire and Rogers, Peanut Butter and Jelly or, more relevantly, MySQL and PHP. BlueHost is the web host, Fantastico is the feature; together, they can help you make your website do all sorts of incredible things. Fantastico (full name: Fantastico DeLuxe) is the leading auto-installer for servers using the cPanel control panel.

3). How to Share?Transfer Large Files Via The Internet
The Internet is the fastest medium to share or transfer large files from one computer to another. FTP has several advantages over HTTP and considered as a reliable communication protocol to share/transfer large files via the Internet. Through FTP service you can transfer large files irrespective of the content (text, image, audio, video, multimedia, etc).

4). 1and1 Hosting - Raising the bar
First, I have to admit. I'm a terrible customer. I'm a demanding perfectionist who rarely feels that he is getting his money's worth. This is especially true of hosting providers. In the past four years, I've had to change providers at least six times because I felt that I was not getting what I paid for. This brief commentary is somewhat of a treat.

5). 3 Differences between Shared and Dedicated Hosting
When it comes to making the all-important choice of what web hosting method to use the choices come down to shared hosting and dedicated hosting. There are so many arguments arguing for both shared hosting and dedicated hosting. Perhaps it is time to shed a little light on this web hosting dilemma. First of all, let's deal with the all-important question of server access.

6). FTP Hosting - The Benefits Of Sending Large Files Via The Internet!
Still using FedEx or UPS as the medium of transferring files to your client? Try FTP hosting service, this is an authentic way to transfer files over the Internet. In this era of Internet technology it is necessary to implement advanced communication protocol in the business system to enjoy efficient client communication. You can contact with your client or vendor through World Wide Web within a few second therefore, it is necessary to implement a technology that can enhance the business process and can run over the Internet.

7). Four Critical Factors to Business Web Hosting Success
There are a number of business web hosting services over the internet. It is important when choosing a business web hosting service that you find one that caters to your specific business needs.


Page loaded in 0.201 seconds.