flâneur — a map of the web's best reading

What is a web server? - Learn web development | MDN

developer.mozilla.org · 1,346 words · saved by 1 readers

At the most basic level, whenever a browser needs a file that is hosted on a web server, the browser requests the file via HTTP. When the request reaches the correct (hardware) web server, the (software) HTTP server accepts the request, finds the requested document, and sends it back to the browser, also through HTTP. (If the server doesn't find the requested document, it returns a 404 response instead.) To publish a website, you need either a static or a dynamic web server. A static web server, or stack, consists of a computer (hardware) with an HTTP server (software). We call it "static" because the server sends its hosted files as-is to your browser. 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 content to your browser via the HTTP server. For example, to produce the final webpages you see in the browser, the appl

What is a web server? - Learn web development | MDN Skip to main content Skip to search What is a web server? In this article, we explain what web servers are, how web servers work, and why they are important. Prerequisites: You should already know how the Internet works , and understand the difference between a web page, a website, a web server, and a search engine . Objective: You will learn what a web server is and gain a general understanding of how it works. Summary The term web server can refer to hardware or software, or both of them working together. On the hardware side, a web server

Explore this link on the map →

related reading