What Happens When You Visit A Web Internet site?
SEnuke: Ready for action
Time For Some Alphabet Soup
When you type a handle into your web browser, or select a link in a web page, you are making a demand for a specific record. Managed by the Hyper Text Transfer Protocol (HTTP), your request is sent over the Internet to the server that holds the record you would like. Assuming all goes well, the server will respond by giving the file, usually a web site consisting of graphics and text.
What is HTTP? It's part of the Internet Protocol (IP) suite, and is employed by a 'client,' including a browser, to determine a reference to the server that hosts a specific website. Because it waits for incoming requests the server monitors TCP port 80.
Connections on the net that allow 2 computers to change data are created from the Transmission Control Protocol (TCP). TCP is prepared to identify the requesting computer, and to properly transfer information to its location.
Server To Browser -- Behind The Scenes
Several TCP ports are available with standard uses. For one more perspective, please look at: http://informedseries.com/informed-faq.html. For example, TCP Port 21 is normally reserved for FTP (File Transfer Protocol) for uploading and downloading files. Port 80 is usually used for HTTP. Http://Informedseries.Com/Informed Faq.Html/ is a interesting online database for additional resources concerning how to ponder it.
If the server receives a request line on TCP port 80 in the form of GET / HTTP/1.1 it'll send a reply code, depending on perhaps the requested web site is available or perhaps not. A normal request will appear like this:
GET /faq.html HTTP/1.1
Host: http://www.mywebsite.com
It is a request for the site 'faq' around the host site 'mywebsite.' The 'number' should be specified to tell apart between internet sites that are hosted o-n shared servers. If faq.html can be obtained, the server will respond some thing like:
HTTP/1.1 200 OK
Date: Mon, 1-2 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
... Accompanied by the specific website.
How Information Gets Where It's Going
The initial point above, HTTP/1.1 200 OKAY, means that the requested website is available. Other rules can also be returned. Like, the rule 404 means the server can't find the requested page.
The web site is sent via TCP as a number of data packets, each with a header that identifies its destination and its order in the data flow, when found. The various packages can take different routes to achieve their destination.
Each is directed via a router, which polls other modems close by. The information is going to be sent through another one, If a experience of the initial switch is unavailable. This enables the information to reach its destination as quickly as you are able to. Going To http://www.informedseries.com maybe provides cautions you might tell your aunt.
What Happens When I-t Gets There
If the web browser receives the data, it sends right back an acceptance. This guarantees that most the packages have already been obtained in just a particular time. If not, they will be re-transmitted from the machine. TCP also checks to be certain the information is whole.
The data is then reassembled in the correct order, thanks to the sequence number of each and every data packet. If people need to identify more on http://informedseries.com information, we know about many resources people can investigate.
And Presto! The internet page appears on your monitor, generally in a matter of seconds..
Replies