web server
server, a computer designed to be mounted in a rack mount environment. Servers similar to this one are often used as web servers. with thousands of web servers used for super-high traffic websites modem running an embedded web server serving dynamic web pages used for modem configuration A web server is computer software that accepts requests via HTTP (the network protocol created to distribute web content) or its secure variant HTTPS. A user agent, commonly a web browser or web crawler, initiates communication by making a request for a web page or other resource using HTTP, and the server responds with the content of that resource or an error message. A web server can also accept and store resources sent from the user agent if configured to do so. The hardware used to run a web server can vary according to the volume of requests that it needs to handle. At the low end of the range are embedded systems, such as a router that runs a small web server as its configuration interface. A high-traffic Internet website might handle requests with hundreds of servers that run on racks of high-speed computers. A resource sent from a web server can be a pre-existing file (static content) available to the web server, or it can be generated at the time of the request (dynamic content) by another program that communicates with the server software.…
server, a computer designed to be mounted in a rack mount environment. Servers similar to this one are often used as web servers. with thousands of web servers used for super-high traffic websites modem running an embedded web server serving dynamic web pages used for modem configuration A web server is computer software that accepts requests via HTTP (the network protocol created to distribute web content) or its secure variant HTTPS. A user agent, commonly a web browser or web crawler, initiates communication by making a request for a web page or other resource using HTTP, and the server responds with the content of that resource or an error message. A web server can also accept and store resources sent from the user agent if configured to do so. The hardware used to run a web server can vary according to the volume of requests that it needs to handle. At the low end of the range are embedded systems, such as a router that runs a small web server as its configuration interface. A high-traffic Internet website might handle requests with hundreds of servers that run on racks of high-speed computers. A resource sent from a web server can be a pre-existing file (static content) available to the web server, or it can be generated at the time of the request (dynamic content) by another program that communicates with the server software. The former usually can be served faster and can be more easily cached for repeated requests, while the latter supports a broader range of applications. Technologies such as REST and SOAP, which use HTTP as a basis for general computer-to-computer communication, as well as support for WebDAV extensions, have extended the application of web servers well beyond their original purpose of serving human-readable pages. ==History== workstation with Ethernet, 1990. The case label reads: "This machine is a server. DO NOT POWER IT DOWN!!" This is a very brief history of web server programs, so some information necessarily overlaps with the histories of the web browsers, the World Wide Web and the Internet; therefore, for the sake of clarity and understandability, some key historical information below reported may be similar to that found also in one or more of the above-mentioned history articles. ==Technical overview== The following technical overview should be considered only as an attempt to give a few very limited examples about some features that may be implemented in a web server and some of the tasks that it may perform in order to have a sufficiently wide scenario about the topic. A web server program plays the role of a server in a client–server model by implementing one or more versions of HTTP protocol, often including the HTTPS secure variant and other features and extensions that are considered useful for its planned usage. The complexity and the efficiency of a web server program may vary a lot depending on: common features implemented; common tasks performed; performances and scalability level aimed as a goal; software model and techniques adopted to achieve wished performance and scalability level; target hardware and category of usage (e.g., embedded system, low-medium traffic web server, high traffic Internet web server). http://www.example.com/cgi-bin/forum.php?action=view&orderby=thread&date=2021-10-15 The client's user agent connects to www.example.com and then sends the following HTTP/1.1 request: GET /cgi-bin/forum.php?action=view&ordeby=thread&date=2021-10-15 HTTP/1.1 Host: www.example.com Connection: keep-alive The result is the local file path of the program (in this example, a PHP program): /home/www/www.example.com/cgi-bin/forum.php The web server executes that program, passing in the path-info and the query string action=view&orderby=thread&date=2021-10-15 so that the program has the info it needs to run. (In this case, it will return an HTML document containing a view of forum entries ordered by thread from October 15, 2021). In addition to this, the web server reads data sent from the external program and resends that data to the client that made the request. ==Performances== To improve the user experience (on client or browser side), a web server should reply quickly (as soon as possible) to client requests; unless content response is throttled (by configuration) for some type of files (e.g., big or huge files), also returned data content should be sent as fast as possible (high transfer speed). In other words, a web server should always be very responsive, even under high load of web traffic, in order to keep total user's wait (sum of browser time + network time + web server response time) for a response as low as possible. ==Load limits== A web server (program installation) usually has pre-defined load limits for each combination of operating conditions, also because it is limited by OS resources and because it can handle only a limited number of concurrent client connections (usually between 2 and several tens of thousands for each active web server process, see also the C10k problem and the C10M problem). When a web server is near to or over its load limits, it gets overloaded and so it may become unresponsive. ===Causes of overload=== At any time web servers can be overloaded due to one or more of the following causes: Excess legitimate web traffic. Thousands or even millions of clients connecting to the website in a short amount of time (e.g., the Slashdot effect). Distributed Denial of Service attacks. A denial-of-service attack (DoS attack) or distributed denial-of-service attack (DDoS attack) is an attempt to make a computer or network resource unavailable to its intended users. Computer worms that sometimes cause abnormal traffic because of millions of infected computers (not coordinated among them). XSS worms can cause high traffic because of millions of infected browsers or web servers. Internet bots Traffic not filtered or limited on large websites with very few network resources (e.g., bandwidth) or hardware resources (CPUs, RAM, disks). Internet (network) slowdowns (e.g., due to packet losses) so that client requests are served more slowly and the number of connections increases so much that server limits are reached. Web servers, serving dynamic content, waiting for slow responses coming from back-end computers (e.g., databases), maybe because of too many queries mixed with too many inserts or updates of DB data; in these cases web servers have to wait for back-end data responses before replying to HTTP clients but during these waits too many new client connections or requests arrive and so they become overloaded. Web servers (computers) partial unavailability. This can happen because of required or urgent maintenance or upgrade, hardware or software failures such as back-end (e.g., database) failures; in these cases the remaining web servers may get too much traffic and become overloaded. ===Symptoms of overload=== The symptoms of an overloaded web server are usually the following ones: Requests are served with (possibly long) delays (from one second to a few hundred seconds). The web server returns an HTTP error code, such as 500, 502, 503, 504, 408, or even an intermittent 404. The web server refuses or resets (interrupts) TCP connections before it returns any content. In very rare cases, the web server returns only a part of the requested content. This behavior can be considered a bug, even if it usually arises as a symptom of overload. ===Anti-overload techniques=== To partially overcome above average load limits and to prevent overload, most popular websites use common techniques like the following ones: Tuning OS parameters for hardware capabilities and usage. Tuning web servers parameters to improve their security and performances. Deploying techniques (not only for static contents but, whenever possible, for dynamic contents too). Managing network traffic, by using: Firewalls to block unwanted traffic coming from bad IP sources or having bad patterns; HTTP traffic managers to drop, redirect or rewrite requests having bad HTTP patterns; Bandwidth management and traffic shaping, in order to smooth down peaks in network usage. Using different domain names, IP addresses and computers to serve different kinds (static and dynamic) of content; the aim is to separate big or huge files ( download.* ) (that domain might be replaced also by a CDN) from small and medium-sized files ( static.* ) and from main dynamic site (maybe where some contents are stored in a backend database) ( www.* ); the idea is to be able to efficiently serve big or huge (over 10 – 1000 MB) files (maybe throttling downloads) and to fully cache small and medium-sized files, without affecting performances of dynamic site under heavy load, by using different settings for each (group) of web server computers: https://download.example.com https://static.example.com https://www.example.com Using many web servers (computers) that are grouped together behind a load balancer so that they act or are seen as one big web server. Adding more hardware resources (i.e., RAM, fast disks) to each computer. Using more efficient computer programs for web servers (see also: software efficiency). Using the most efficient to process dynamic requests (spawning one or more external programs every time a dynamic page is retrieved, kills performances). Using other programming techniques and workarounds, especially if dynamic content is involved, to speed up the HTTP responses (i.e., by avoiding dynamic calls to retrieve objects, such as style sheets, images and scripts), that never change or change very rarely, by copying that content to static files once and then keeping them synchronized with dynamic content. Using latest efficient versions of HTTP (e.g., beyond using common HTTP/1.1 also by enabling HTTP/2 and maybe HTTP/3 too, whenever available web server software has reliable support for the latter two protocols) in order to reduce a lot the number of TCP/IP connections started by each client and the size of data exchanged (because of more compact HTTP headers representation and maybe data compression). This may not prevent overloads of RAM and CPU caused by the need for encryption. It may also not address overloads caused by excessively large files uploaded at high speed, because they are optimized for concurrency. ==Market share== Below are the latest statistics of the market share of all sites of the top web servers on the Internet by Netcraft. NOTE: (*) percentage rounded to integer number, because its decimal values are not publicly reported by source page (only its rounded value is reported in graph). ==See also== Server (computing) Application server Comparison of web server software HTTP compression Web application Open source web application List of AMP packages Variant object Virtual hosting Web hosting service Web container Web proxy Web service Standard Web Server Gateway Interfaces used for dynamic contents: CGI Common Gateway Interface SCGI Simple Common Gateway Interface FastCGI Fast Common Gateway Interface A few other Web Server Interfaces (server or programming language specific) used for dynamic contents: SSI Server Side Includes, rarely used, static HTML documents containing SSI directives are interpreted by server software to include small dynamic data on the fly when pages are served (e.g., date and time, other static file contents, etc.). SAPI Server Application Programming Interface: ISAPI Internet Server Application Programming Interface NSAPI Netscape Server Application Programming Interface PSGI Perl Web Server Gateway Interface WSGI Python Web Server Gateway Interface Rack Rack Web Server Gateway Interface JSGI JavaScript Web Server Gateway Interface Java Servlet, JavaServer Pages Active Server Pages, ASP.NET ==References== ==External links== Mozilla: what is a web server? Netcraft: news about web server survey
References
- http://www.example.com/cgi-bin/forum.php?action=view&orderby=thread&date=2021-10-15 · retrieved 2026-11-23
Cite this reference
MLA "http://www.example.com/cgi-bin/forum.php?action=view&orderby=thread&date=2021-10-15." article body. 2026-11-23. http://www.example.com/cgi-bin/forum.php?action=view&orderby=thread&date=2021-10-15. Accessed 24 November 2026.
Chicago "http://www.example.com/cgi-bin/forum.php?action=view&orderby=thread&date=2021-10-15." article body. 2026-11-23. http://www.example.com/cgi-bin/forum.php?action=view&orderby=thread&date=2021-10-15.
APA article body. (2026). http://www.example.com/cgi-bin/forum.php?action=view&orderby=thread&date=2021-10-15. Retrieved November 24, 2026, from http://www.example.com/cgi-bin/forum.php?action=view&orderby=thread&date=2021-10-15
- web server · retrieved 2026-11-23 · rev 1377872054
Cite this reference
MLA "web server." 2026-11-23. https://en.wikipedia.org/w/index.php?oldid=1377872054. Accessed 24 November 2026.
Chicago "web server." 2026-11-23. https://en.wikipedia.org/w/index.php?oldid=1377872054.
APA encyclopegia.org. (2026). web server. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1377872054
Cite this article
MLA
"web server." encyclopegia.org, 2026, https://encyclopegia.org/wiki/web-server. Accessed 24 November 2026.
Chicago
"web server." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/web-server.
APA
encyclopegia.org. (2026). web server. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/web-server
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON
Claims
| Predicate | Value | Source |
|---|---|---|
| year mentioned | 1990 | article body |
| date mentioned | 2021-10-15 | article body |
| date mentioned | October 15, 2021 | article body |