A web server is software that listens for HTTP and HTTPS requests and responds with content. Nginx, Apache and Caddy are common examples, and the term also describes the computer that runs them.
Why it matters
The web server is the front door of your site. It serves static files, passes dynamic requests to an application (PHP, Node.js, Python), terminates TLS and writes access logs. When it is overloaded, misconfigured or down, visitors see errors such as 500, 502 or 503.
Example
Browser -> GET /index.html -> Nginx
Browser <- 200 OK + HTML <- Nginx
For a request like /api/orders, Nginx may instead forward the request to an app server and relay its answer back.
Common mistakes
- Treating the web server and the hosting provider as the same thing.
- Leaving default pages, directory listings or version banners enabled in production.
- Not monitoring it from outside, so you learn about outages from customers.
Related
Get notified when this term updates
Plus occasional practical tips on uptime and monitoring, nothing else. Unsubscribe anytime.
यह पेज सामान्य जानकारी है, जिसे हमारी संपादकीय टीम ने लिखा है और दस्तावेज़ीकरण बदलने पर अपडेट किया जाता है। सर्वर और प्रदाता अलग-अलग होते हैं, इसलिए बदलाव पहले सुरक्षित तरीके से जाँचें। देखें: संपादकीय नीति और अस्वीकरण.