A web server is an essential component of the internet infrastructure that enables the delivery of web pages and other…