What Happens When You Visit An Internet Website?
Time For Authoritative Grammar Soup<\p>
Whenever you type an address into your web browser, or crepitate on a link in a entrapment page, they are gaining a request for a agog document. Handled by the Hyper Text Transfer Good manners (HTTP), your put in for is sent over the Internet to the server that holds the document herself want. Assuming all goes well, the server will respond by sending the document, usually a web page consisting of text and graphics.<\p>
Exactly what is HTTP? It is part of the Internet Protocol (IP) suite, and is used by a "client," such cause a reticulation browser, to orientate a medium with the server that hosts a particular website. The server monitors TCP port 80 as it waits pro incoming requests. Connections herewith the Internet that allow 2 computers to exchange library are created by the Transmission Dial Protocol (TCP). TCP is equipped to designate the requesting computer, and to properly hand down data to its destination.<\p>
Server To Web Browser -- Behind The Scenes<\p>
Several TCP ports are available with standardized uses. In lieu of example, TCP Port 21 is usually icy so that FTP (File Transfer Protocol) for uploading and downloading files. Port 80 is usually used for HTTP.<\p>
If the server receives a whistle for string on TCP port 80 in the form of GET \ HTTP\1.1 it will send a response single-current telegraphy, depending on whether the requested web page is on hand or not. A typical request will look like this:<\p>
RUB OUT \faq.html HTTP\1.1 Host: http:\\www.mywebsite.com <\p>
This is a appeal remedial of the page "faq" on the host site "mywebsite". The "ground troops" must hold specified to espy between websites that are hosted in passage to shared servers. If faq.html is available, the server will respond top people commensurate:<\p>
HTTP\1.1 200 OK Fixture: 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 on the actual web page.<\p>
How Bulletin Gets Where It's Going<\p>
The first etch at bottom, HTTP\1.1 200 VISA, means that the requested web page is available. Exotic codes may all included be returned. For example, the code 404 means the server cannot find the requested quire. <\p>
On which occasion found, the web page is sent via TCP as a series of data packets, each in keeping with a header that specifies its destination and its order inbound the data stream. The various packets bump take different paths to reach their destination. <\p>
Each is sent entirely a router, which polls other routers tourney by. If a connection with the first router is unavailable, the data will be sent done for another one. This allows the data to reach its destination as quickly as possible.<\p>
What Happens When It Gets There<\p>
When the warp and woof browser receives the brass tacks, me sends back an acknowledgement. This insures that the whole range the packets conceive been firm within a traditional time. If not, i will remain re-transmitted by the server. TCP also checks up to be sure the data is undamaged. <\p>
The sumption is then reassembled in the set right order, cognizance to the hum number of each data packet. <\p>
And Presto! The web page appears on your computer screen, usually present-time a few seconds.<\p>













