how web server works

Topics: Internet, IP address, World Wide Web Pages: 8 (3348 words) Published: September 23, 2013
Let's say that you are sitting at your computer, surfing the Web, and you get a call from a friend who says, "I just read a great article! Type in this URL and check it out. It's at" So you type that URL into your browser and press return. And magically, no matter where in the world that URL lives, the page pops up on your screen. At the most basic level possible, the following diagram shows the steps that brought that page to your screen: # INCLUDEPICTURE "" \* MERGEFORMATINET ### Your browser formed a connection to a Web server, requested a page and received it. Behind the Scenes

If you want to get into a bit more detail on the process of getting a Web page onto your computer screen, here are the basic steps that occurred behind the scenes: The browser broke the URL into three parts:

The protocol ("http")
The server name ("")
The file name ("web-server.htm")
The browser communicated with a # HYPERLINK "" #name server# to translate the server name "" into an IP Address, which it uses to connect to the server machine. The browser then formed a connection to the server at that IP address on port 80. (We'll discuss ports later in this article.) Following the HTTP protocol, the browser sent a GET request to the server, asking for the file "" (Note that cookies may be sent from browser to server with the GET request -- see # HYPERLINK "" #How Internet Cookies Work# for details.) The server then sent the # HYPERLINK "" #HTML text# for the Web page to the browser. (# HYPERLINK "" #Cookies# may also be sent from server to browser in the header for the page.) The browser read the # HYPERLINK "" #HTML tags# and formatted the page onto your screen. If you've never explored this process before, that's a lot of new vocabulary. To understand this whole process in detail, you need to learn about IP addresses, ports, protocols... The following sections will lead you through a complete explanation.

The Internet
So what is "the Internet"? The Internet is a gigantic collection of millions of computers, all linked together on a computer network. The network allows all of the computers to communicate with one another. A home computer may be linked to the Internet using a # HYPERLINK "" #phone-line modem#, # HYPERLINK "" #DSL# or # HYPERLINK "" #cable modem# that talks to an Internet service provider (ISP). A computer in a business or university will usually have a network interface card (NIC) that directly connects it to a # HYPERLINK "" #local area network# (LAN) inside the business. The business can then connect its LAN to an ISP using a high-speed phone line like a T1 line. A # HYPERLINK "" #T1 line# can handle approximately 1.5 million bits per second, while a normal phone line using a modem can typically handle 30,000 to 50,000 bits per second. ISPs then connect to larger ISPs, and the largest ISPs maintain # HYPERLINK "" #fiber-optic# "backbones" for an entire nation or region. Backbones around the world are connected through fiber-optic lines, undersea cables or # HYPERLINK "" #satellite# links (see # HYPERLINK "" #An Atlas of Cyberspaces# for some...
Continue Reading

Please join StudyMode to read the full document

You May Also Find These Documents Helpful

  • Web Servers Essay
  • How Does a Web Browser Work? Research Paper
  • Web Server Application Attacks Essay
  • How the Web Search Engine Works Essay
  • Web Server and Intranet Website Essay
  • Web Server and Basic Hardware Terminology Essay
  • How to Prepare a Web Page. Essay
  • work Essay

Become a StudyMode Member

Sign Up - It's Free