Sunday, 1 February 2015

WEB SERVERS

 TO view and browse pages on the web, all you need is a web browser. To publish pages on the web, you need a web server.
A web server is the program that runs on a computer and is responsible for replying to web browser request for files. You need a web server to publish documents on the web. One point of confusion is that the computer on which a server program runs is also referred to as a server. So, when someone used the term web server, she could be referring to a program used to distribute web pages or the computer on which that program runs.

When you use a browser to request a page on a website, that browser makes a web connection to a server using the HTTP protocol. The server accepts the connection, sends the contents of the requested files, and then closes the connection, the browser then formats the information it got from the server.

On the server side, many different browses can connect to the same server to get the same information. The web server is responsible for handling all these requests.
Web servers do more than just serve files. They’re also responsible for managing form input and for liking forms and browsers with programs such as databases running on the server.
As with browsers, many different servers are available for many different platforms, each with many different features and ranging in cost form free to very expensive. For now, all you need to know is what the server is there for; you’ll learn more about web servers in lesson 18, “putting your site online”

UNIFORM RESOURCE LOCATORS
As you learned earlier, a URL is a pointer to some bit of data on the web, be it a web document, a file available via FTP,  a posting on use net, or an email address. The URL provides a universal, consistent method for finding and accessing information.
In addition to typing URLs directly into your browser to go to a particular page, you also use URLs when you create a hypertext link within a document to another document. So, any way you look at it, URLs are important to how you and your browser get around on the web.
URLs contain information about the following:

·         How to get to the information (which protocol to use: FTP, HTTP, or file)
·         The internet hostname of the computer where the content is stored (www.ncsa.uiuc.edu, ftp.apple.com, netrcom16.netcom.com, and so on)
·         The directory or other location on that site where the content is located

You also can use special URLs for tasks such as sending mail to people (called mailto URLs) and running java script code. You’ll learn all about RULs and what each part means in lesson5.

No comments:

Post a Comment