Web Infrastructure  «Prev  Next»

Lesson 4 Web servers
ObjectiveDescribe the role of Web servers.

What is a Web server?

A Web server is a computer application, plus the corresponding hardware, operating system, and network connections, that delivers Web pages to a requesting user over TCP/IP.
Web Server Diagram

It also supports delivery of other kinds of Internet services, such as news, email, and security.
Every Web server has an IP address and possibly a domain name. Additionally, all Web servers adhere to language and protocol standards: HTML and HTTP. These standards enable servers of different design and capacity to work within the larger network that is the Internet.

Types of Web Servers

Any computer can be turned into a Web server by first installing applicable server software and then connecting the machine to the Internet. Existing Web servers are available for a wide range of platforms, including Windows, Macintosh, and Unix. There are also special function Internet servers that do not provide the entire range of services. These special servers include proxy servers, which are used for content load balancing and security; dedicated email servers; and dedicated FTP servers.

Next Gen Digital Workplace

Data collection

In addition to hosting and delivering the content of a Web site, Web servers have another important function: They collect insightful data on Web site usage. Here is a list of the specific kind of information they provide:
  1. Information about page usage and performance
  2. The brand and version of the browser being used
  3. The page from which a visitor is coming
  4. Glitches experienced during the visit
All of this information is extremely valuable for three main reasons:
  1. Knowing which browser is the most frequently used can help you optimize your content delivery design.
  2. Knowing a visitor's site of origin can help your marketing department identify and address target markets.
  3. Knowing which pages were visited can help you improve the navigation of your site.

Web server considerations

There are different families of Web servers available. In choosing one, you should consider what role servers play in relation to other eBusiness tools, particularly application servers, which are discussed elsewhere in this course. In the early days of Web development, many site developers took advantage of low Web server services to directly program custom features into a Web site. For instance, AOL/Netscape Web Servers offered a set of services through its NSAPI[1] programming interface, and Microsoft offered a similar set of services through its ISAPI[2] programming services.
However, as eBusiness solutions have become more complex, it has nearly become a standard practice to offload any custom coding to dedicated application servers, thereby limiting Web servers to handling only standard Web server functions. Though the number, configuration, and tuning of Web servers continue to be important design elements in eBusiness solutions, Web servers are typically less involved today in core business logic processing for eBusiness.
For these reasons, you may elect to download Apache, a shareware server available through the Internet.
The next lesson delves into security issues regarding Web sites.
[1]: NSAPI (NetScape API)','A programming interface on Netscape's Web Server. Using NSAPI function calls, Web pages can invoke programs on the server, typically to access data in a database. NSAPI is an alternative to using CGI scripts on Netscape Web servers.
[2]: Internet Server API: A programming interface on Internet Information Server (IIS), Microsoft\'s Web server. Using ISAPI function calls, Web pages can invoke programs that are written as DLLs on the server, typically to access data in a database. IIS comes with a DLL that allows embedded queries to access ODBC-compliant databases. ISAPI is an alternative to using CGI scripts on Microsoft Web servers. The counterpart to ISAPI on the client side is WinInet.