Writers' Community!
Home Page Two Columnists Q&A Submit an Article FAQs Contact Author Login
Article Submission
We Need YOUR Articles!
We'll Promote Them for FREE!

Author Login

New Authors
Register Here


Now Serving 7,784 Authors
70,500 Quality Articles
& 4,585 Current Users Online!
Featured Authors
Mogama (16,433)
Bruce Horst (138)
Joel Hendon (17,877)
Michael Ramzy (633)
E. Raymond Rock (3,064)
Ira Coffin (7,406)
Connor Davidson (5,137)
Ben Morrish (8,401)
Steve Kovacs (4,388)
Sandra E. Graham (8,072)
Fran Larson (2,158)
Shari Vaudo (418)
David Tanguay (9,593)
Missing Link (708)

View All Featured Authors
Most Recent
Information That You need From Your Web Host

How To Decide On The Web Host You Need

Choosing A New Domain Name For Your Business

Why Should I Worry About The Best Web Host

Why Web Hosting is Important

10 Things You Need To Know About Web Hosting

Web Hosting - Virtual Private Servers (VPS) Explained

Outsourcing Email Management? Companies are getting the Message

3 Options For Hosting Multiple Websites

Discover The Advantages Of Colocated Web Hosting

Home » Categories » Website Technologies » Website Hosting » What Happens When You Visit An Internet Website? » Reprint Rights » Printer Friendly

What Happens When You Visit An Internet Website?

Rated 4 out of 5
No Reader Ratings Available ?
Rate It  /  View Comments  /  View All Articles submitted by ronking
Submitted Wednesday, December 07, 2005
ronking (2,499)

Log in to become a member of ronking's Fan Club!


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.

Visit http://www.adventhosting.com to learn more. Ron King is a full-time researcher, writer, and web developer, visit his website at http://www.ronxking.com

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




The author of this article has chosen to make this article available with free reprint rights.
Click here to copy this article.

Reprint Rights

Log in to become a member of ronking's Fan Club!

No comments yet.


Was this article helpful to you? Leave a Public Comment or Question:

This Article has been viewed 282 times.
Article added to SearchWarp.com on 12/7/2005 9:32:24 PM.
View other articles written by ronking (2,499)


If you found this article interesting, you may want to check out:

Disclaimer:  All information on this site is provided for informational purposes only! By no means is any information presented herein intended to substitute for the advice provided to you by any health care or other professional or organization.


Today's Most Popular
Multiple Website Hosting - Subdomains are the Answer!

How To Switch Hosting Providers Without Downtime

GooglePages and AdSense Solutions

Web Hosting - 10 Things To Avoid

Outsourcing Email Management? Companies are getting the Message

What Happens When You Visit An Internet Website?

Should I Get A Website?

3 Options For Hosting Multiple Websites

Comparing Free Blogging Software

10 Things You Need To Know About Web Hosting

Viewed from Cache. Load Time: 0.015.

Home  |  Page Two  |  FAQ's  |  Contact  |  Terms of Service  |  Article Submission Guidelines  |  Questions & Answers  |  Privacy  |  Mission / About
Copyright © 1999-2009 SearchWarp.com, All Rights Reserved - SearchWarp.com is an IcoLogic, Inc. Company