The primary function of a web server is to cater web page to the request of clients using the Hypertext Transfer Protocol (HTTP).
The primary function of a web server is to deliver web pages to a clients. The communication between client and server takes place using the Hypertext Transfer Protocol (HTTP).