webserver
The web server is defined as a server that may be hardware or software, or both of them working together, it can be any type among these types.
In hardware, the server was a computer that stores the software and website's components like HTML documents, images, CSS stylesheets and javascript files.
webserver connects to the Internet and supports physical data interchange with other devices connected to the web.
A web server on the software side contains several parts that going to control user access to files inside the server.
HTTP(Hypertext Transport or Transfer Protocol) server understands URLs and it can be accessed through the domain names and delivers the content to the end user's device.
Publishing web servers
To publish a website, we need either a static or a dynamic web server.
Static web server (served as-is)
It consists of a computer as hardware with an HTTP server as software. it is called static because the server sends its hosted files as is to our browser.
Dynamic web server
It consists of a static web server and extra software like a database. it is called dynamic because the server updates hosted files before sending content to our browser with the help of the HTTP server.