Process Flow - Web server vs application server
Client sends HTTP request
Web Server receives request
Static content
Serve file
Application Server processes
Response sent back to Web Server
Web Server sends response to Client
The client sends a request to the web server. The web server serves static files directly or forwards dynamic requests to the application server, which processes them and returns a response.