A Web Server is nothing but Hardware and Software that uses HTTP [Hypertext Transfer Protocol] to respond to a client's request. The leading role of a Web Server is to exhibit website content requested by the client by storing, processing and delivering the web pages to the client as a response. The first web server known as CERN httpd, was developed by Sir Tim Berners-Lee in 1990 at CERN, the European Organization for Nuclear Research. It is good to know that this was the first web server to be used on the Internet. Sir Tim Berners Lee had developed a code for his Web Server on a NeXT computer and to prevent the computer to be turned off accidentally, the computer had a handwritten label in red link: "This machine is a server. DO NOT POWER IT DOWN!!". Web Servers are used in web hosting. An example of a Web Server process is the Client-Server model.
SESSIONS OF WEB SERVER =>
Web Server Hardware - It is connected to the internet to exchange data with all the other connected devices.
Web Server Software - It is the controlled flow of the page. It is the HTTP server that contains HTML files.
# How can we access the HTTP server?
We can access this HTTP server by using the domain name or specifically the IP address.
The most famous HTTP server is Apache2.
Apache2 uses 67% of the data of web servers according to the Internet.
Though there are more web servers like Apache Tomcat, NGINX etc. But Apache2 is the oldest one.
# You buy a Server?
Do you know what they will give you? They will give a folder in the path name of (/var/html/www). The file we will return will be HTML, CSS and Js. This will map into a particular IP address.
After hosting the web page the question arises: How to control the website and how to manage the web traffics and monitor the analytics?
The cPanel provides you with a GUI where you can perform actions from a user-friendly dashboard instead of running Linux complex commands. Instead of using CMD, we use GUI because GUI is comparably more user-friendly than CMD. CMD has a higher degree of memorization and familiarity needed for Navigation and operation so that's why users find it easier to learn GUI as it is understandable.