What Is a Web Server?
What Is a Server or Web Server?
A server or web server is software that provides data-based services and receives HTTP or HTTPS requests from known clients, commonly known as web browsers (Mozilla Firefox, Google Chrome), and sends the results back in the form of web pages, generally HTML documents.
Functions of a Server or Web Server
The main function of a server or web server is to transfer files requested by users through a predefined communication protocol. The requested web page consists of text files, videos, images, files and more. A web server is used to transfer every aspect of a web page's files, including the text, videos, images and more inside it.
One example of a web server is Apache. Apache (Apache Web Server – The HTTP Web Server) is the most widely used web server on the Internet. This program was first designed for UNIX environment operating systems. Apache has quite a lot of supporting programs, which gives its users a fairly complete range of services.
Some of the things Apache supports:
- Access Control
This control can be run based on host name or IP number. CGI (Common Gateway Interface) The best known to use is Perl (Practical Extraction and Report Language), supported by Apache by placing it as a module (mod_perl) - PHP (Personal Home Page/PHP Hypertext Processor)
A program with a CGI-like method, which processes text and works on the server. Apache supports PHP by placing it as one of its modules (mod_php). This makes PHP perform better - SSI (Server Side Includes)
The Apache web server has advantages based on several of the considerations above:
- Apache is freeware.
- Apache is very easy to install.
- It can operate on various operating system platforms.
- It is easy to configure. Apache has only four configuration files.
- It is easy to add other peripherals to its web server platform.
Other examples of web servers:
- Apache Tomcat
- Microsoft Windows Server 2003 Internet Information Services (IIS)
- Lighttpd
- Sun Java System Web Server
- Xitami Web Server
- Zeus Web Server
Source: https://idcloudhost.com/pengertian-web-server-dan-fungsinya/