Definition of

Web server

Internet Infrastructure

A web server is a program that receives, processes and responds to requests from a user.

A web server is a type of software that, upon receiving a request sent by a user, processes the request and then returns the corresponding information as a result, sending the content in question. In practice, what the web server does is allow the Internet user to view a web page in his browser .

A computer whose purpose is to provide services to other computers connected to it via a network is called a server . The computer program known as a web server is installed on a server and is responsible for providing files from sites available on the World Wide Web ( WWW ) to the user who requests them from a web browser . Sometimes, however, the idea of ​​a web server refers to both hardware and software.

A server is a computer that is responsible for storing the web server and the files that make up what is referred to as a website (i.e. hosting HTML documents , JavaScript files, images of different formats, etc.). Its operation is based on the so-called client-server architecture : in this communication model, the server is dedicated to satisfying the requests of the client, with whom it connects through a network.

How a web server works

The operation of a web server is carried out in a series of steps. Its work is started when it receives a request, which first requires that the request can be executed. It then logs the processing of a server-side application and a response to a client-side application .

In this context, there must be a network infrastructure that enables the user to connect to the web. An Internet Service Provider ( ISP ) is needed to provide the connection, enabling the person to browse.

The individual, already connected thanks to the ISP , must have a web browser on his device, which is the program capable of interpreting the information from various types of files to display websites. The user, in this context, uses the browser when he wants to view the content of a site.

In this way, the Internet user types the URL (acronym for Uniform Resource Locator ), which is the address of the site. Upon receiving this indication, the browser carries out the request to request access via the Internet, initiating the search for the IP address of the site in question in its cache or translating the URL using the DNS ( Domain Name System ).

This IP address is a series of numbers that establish the identification, in a hierarchical and logical way, of a device on the Internet. The domain of a site, therefore, refers to an IP address but in simpler terms for human beings.

Upon receiving the request, the web server processes it and, if accepted, searches the server files for the relevant information to return to the web browser that made the request. Only then is the user able to view the content of the website on his or her computer or phone.

Web browser

The web server is essential for browsing the Internet.

The protocols

Communications inherent to Internet browsing can be established thanks to different protocols. A protocol is made up of various rules that stipulate how the communication process must take place.

Thus, the browser that needs to request a file from a web server does so through the HTTP protocol (or its secure version, called the HTTPS protocol ). This protocol is what enables the transmission of information through files on the WWW .

The web server, upon receiving, processing and accepting the request, returns the information, also using the HTTP protocol. That is why it is often referred to as an HTTP server . There are other protocols that may be involved in the transfer of information via the Internet, such as the FTP protocol , the SMTP protocol , the IMAP protocol , the POP3 protocol and the SFTP protocol .

In fact, IP is also a protocol that specifies the addressing (the assignment of IP addresses and the grouping of subnets of equipment) and the routing (the definition of connection paths) of communications. A distinction can be made between IP versions such as IPv4 and IPv6 .

All of these protocols operate at layer 7 (the application layer ) of the OSI model . This model is a reference or standard that the International Organization for Standardization created in 1980 .

Web

Various protocols make possible the communications that the web server establishes with the client.

Web Server Examples

There are many examples of web servers, as many software developers have opted for this type of program. One of the best known is Apache HTTP Server , which was launched in 1995 .

This web server is open source, cross-platform and modular. It can run on Windows , Unix , Mac and other platforms.

NGINX is another very popular web server. It is classified as free software and its code is also open source; like Apache HTTP Server, it is cross-platform and runs on a variety of systems.

Microsoft Internet Information Services (IIS), por su parte, es un servidor web diseñado para el sistema operativo Windows. Una de sus ventajas es la posibilidad de transformar una computadora personal en un servidor para intranet o Internet, haciendo posible la publicación de páginas web de modo local o remoto.

LiteSpeed ​​Web Server also uses the Apache HTTP Server configuration format. It was released in 2003 and has been in several versions.

The importance of security

Web server security is essential to avoid the consequences of a brute force attack , a denial of service attack , or another type of attack. Encryption and authentication processes and the use of certificates (such as the SSL certificate ) are required to minimize the risks.

A certification authority ( CA ) is the entity responsible for issuing and revoking certificates. Its function is to ensure cybersecurity by using cryptography.