Sitemap
Jencika Rathakrishnan

Jencika Rathakrishnan

Be Happy

Web Server

3 min readMar 8, 2023

--

The best example of a static web server is an NGINX web server. Dynamic web server: Dynamic web servers include a static server, application server, and database. It is known as dynamic as it uses the application server to update hosted files before sending them to the user’s browser via HTTP.

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.

Press enter or click to view image in full size

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 application server might fill an HTML template with content from a database. Sites like MDN or Wikipedia have thousands of webpages. Typically, these kinds of sites are composed of only a few HTML templates and a giant database, rather than thousands of static HTML documents. This setup makes it easier to maintain and deliver the content.

Get Jencika Rathakrishnan’s stories in your inbox

Join Medium for free to get updates from this writer.

Web servers often come as part of a larger package of internet- and intranet-related programs that are used for:

  • sending and receiving emails;
  • downloading requests for File Transfer Protocol (FTP) files; and
  • building and publishing webpages.

Usage of web server

  1. Web Hosting:- Web servers are used to host websites and web applications, allowing them to be accessible over the internet. Web hosting services may provide shared or dedicated hosting plans, with varying levels of control, customization, and support.
  2. E-commerce:- Web servers are used to power online stores and e-commerce platforms, providing a secure and reliable platform for buying and selling goods and services online.
  3. Content Management:- Web servers are used to run content management systems (CMS), such as WorldPress, Drupal, or Joomla, that allow users to create and manage websites and digital content.
  4. Application Development:- Web servers are used to develop and test web applications, with support for application frameworks, scripting languages, and database. Developer may use web servers to run their code locally, or on remote servers for testing and deployment.
  5. Data Analytics:- Web servers are used to collect and process data from web applications, such as user interactions, traffic, and performance metrics. This data can be used for analytics, reporting, and optimization purpose.
  6. Cloud Computing:- Web servers are used as a fundamental building block of cloud computing, providing scalable and flexible hosting solutions that can be easily provisioned and managed through cloud platforms such as Amazon Web Services, Microsoft Azure, or Google Cloud Platform.

--

--