educative.io

Educative

Web Server vs Application Server

Are Web Servers and Application servers the same thing. The lesson doesn’t seem to differentiate between them. Please enlighten.

@Hello_World

A web server is more of a general term for a machine that hosts a utility or files or anything online. It can be just an HTTP server hosting static files or an application server hosting application software.

An application server specifically is a web server that hosts your business application.

Please refer to this Mozilla developer resource for more details.

Quoting from the resource -

“A dynamic web server consists of a static web server plus extra software, most commonly an application server and a database . We call it “dynamic” because the application server updates the hosted files before sending them to your browser via the HTTP server.”

2 Likes