HTTP is the rules for transferring web data. A web server stores and transfers the data used to make websites. It has two parts- Hardware and Software. Both are simply called “servers”.
Web server hardware is the actual machine that stores website data. Website data includes static files such as HTML, CSS, and image files. Hardware needs software to make it work. Web server software makes the web work by using HTTP to serve web pages to clients.
When the user types an URL, the web browser must find the associated IP address. It will first check local caches. If it is unable to find the IP in caches, it must do a DNS query and the DNS server will respond back with the appropriate IP address. Once the IP address is obtained, the browser sends an HTTP request to the web server. The web server sends back an HTTP response, containing the web data. Once the data is received, the web browser renders the webpage to use.