Session Seven Webserver - Apache HTTP Server
Session Seven Webserver - Apache HTTP Server
LECTURE SESSIONS
7.2 Introduction
A web server is a computer that runs websites. It's a computer program that
distributes web pages as they are requisitioned. The basic objective of the web server
is to store, process and deliver web pages to the users. This intercommunication is
done using Hypertext Transfer Protocol (HTTP). These web pages are mostly static
content that includes HTML documents, images, style sheets, test etc. Apart from
HTTP, a web server also supports SMTP (Simple Mail transfer Protocol) and FTP (File
Transfer Protocol) protocol for emailing and for file transfer and storage.
exposed to the public and is used internally, then it is called Intranet Server. When
anyone requests for a website by adding the URL or web address on a web browsers
(like Chrome or Firefox) address bar (like www.tum.ac.ke), the browser sends a
request to the Internet for viewing the corresponding web page for that address. A
Domain Name Server (DNS) converts this URL to an IP Address (For example
The Web Server is requested to present the content website to the user’s browser. All
Internet Protocol address is used to communicate between different servers across the
Internet. These days, Apache server is the most common web server available in the
market. Apache is an open source software that handles almost 70 percent of all
websites available today. Most of the web-based applications use Apache as their
This is the most popular web server in the world developed by the Apache Software
Foundation. Apache web server is an open source software and can be installed on
almost all operating systems including Linux, UNIX, Windows, FreeBSD, Mac OS X
and more. About 60% of the web server machines run the Apache Web Server.
The Apache HTTP Server is a free and open-source cross-platform web server
software, released under the terms of Apache License 2.0. Apache is developed and
The job of a web server is to serve websites on the internet. To achieve that goal, it acts
as a middleman between the server and client machines. It pulls content from the
server on each user request and delivers it to the web. The biggest challenge of a web
server is to serve many different web users at the same time — each of whom is
requesting different pages. When you hear the word web server, think of it as the tool
Although we call Apache a web server, it is not a physical server, but rather a software
that runs on an HTTP server. Its job is to establish a connection between a server and
files back and forth between them (client-server structure). The Apache software is
When a visitor wants to load a page on your website, for instance, the homepage or
your “About Us” page, their browser sends a request to your server, and Apache
returns a response with all the requested files (text, images, etc.).
The server and the client communicate through the HTTP protocol, and the Apache
web server is responsible for the smooth and secure communication between the two
machines.
web developers and users can adapt its source code according to the type of website
they’re creating.
turn additional functionalities on and off. The Apache web server has modules for
An Apache web server can be an excellent choice to run your website on a stable and
versatile platform. However, it also comes with some disadvantages you need to pay
attention to.
Pros:
7. Optimal deliverability for static files and compatibility with any programming
Cons: