# Web Server

![What is a Web Server? (with pictures)](https://images.easytechjunkie.com/web-servers-and-computers.jpg align="center")

A [Web Server](https://en.wikipedia.org/wiki/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](https://www.geeksforgeeks.org/client-server-model/).

### SESSIONS OF WEB SERVER =&gt;

1. **Web Server Hardware -** It is connected to the internet to exchange data with all the other connected devices.
    
2. **Web Server Software -** It is the controlled flow of the page. It is the HTTP server that contains HTML files.
    
    ![Microsoft VEMap Using Pure JavaScript - CodeProject](https://th.bing.com/th/id/R.4ba8ae811d7baff38f3afec42c5ca3ca?rik=CfGEA%2fDr89c3wg&riu=http%3a%2f%2fwww.nesabamedia.com%2fwp-content%2fuploads%2f2017%2f11%2fcara-kerja-server.gif&ehk=o70ew%2f9yV2RmejYSWdNb8M%2fzUCTXo6h%2fri8VXEzZ8ng%3d&risl=&pid=ImgRaw&r=0 align="center")
    

### **\# 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.

---
