Skip to content
Programmingoneonone
Programmingoneonone
  • Home
  • CS Subjects
    • Internet of Things (IoT)
    • Digital Communication
    • Human Values
    • Cybersecurity
  • Programming Tutorials
    • C Programming
    • Data structures and Algorithms
    • 100+ Java Programs
    • 100+ C Programs
  • HackerRank Solutions
    • HackerRank Algorithms Solutions
    • HackerRank C problems solutions
    • HackerRank C++ problems solutions
    • HackerRank Java problems solutions
    • HackerRank Python problems solutions
Programmingoneonone
Programmingoneonone

Web Servers

YASH PAL, 31 July 2024

WWW Servers

In this post, we are going to learn about the web servers available for the world wide web.

To make available the services of Web pages, Web sites need a host, a computer, and server software that runs on the host. The host manages the communication protocols and the related software required to create a Website on the Internet. The host machine often uses the UNIX, Windows NT, Windows 2000, or Macintosh Operating systems which have the TCP/IP protocols built in. The server software resides on the host and serves up the pages and otherwise acts on the requests sent from the client browser software.

A Web server is a program that runs on a Website and is responsible for replying to Web browser requests for files. you need a Web server to publish documents on the Web.

Types of Servers

There are different types of server software (database servers or network servers, etc) that perform different types of services for different types of clients. Specifically, a Web server is an HTTP server and its function is to send information to the client software (typically a browser) using the Hypertext Transfer Protocol (HTTP). The client browser requests and the server returns and Hypertext Markup Language (HTML) document. The server receives this request and sends back a response.

Functions performed by Web Server

A web server does the following jobs:

It passes requests to run CGI (Common Gateway Interface) scripts to the CGI applications. These scripts run external mini-programs, such as a database lookup or interactive forms processing.

The server software includes configuration files and utilities to secure and manage the Website in a variety of ways.

Working of Web Server Software

Client (Internet browser) software sends its request for data to the host, and the Web server software processes the request. Included in the browser’s request are the desired information and the file formats the browser can accept. If the browser asks for an HTML file, the Web server retrieves the file, attaches a header to the file, and sends it to the browser.

If the browser has asked for specific database information, the Web server will pass a request through CGI to the application, which performs a database lookup. The CGI script returns the result to the Web server, which in turn attaches a header to the data and sends it to the browser.

The host computer must have a uniques IP address to send and receive information across the Internet.

Computer Science Tutorials

Post navigation

Previous post
Next post

Are you a student and stuck with your career or worried about real-time things, and don't know how to manage your learning phase? Which profession to choose? and how to learn new things according to your goal, and land a dream job. Then this might help to you.

Hi My name is YASH PAL, founder of this Blog and a Senior Software engineer with 5+ years of Industry experience. I personally helped 40+ students to make a clear goal in their professional lives. Just book a one-on-one personal call with me for 30 minutes for 300 Rupees. Ask all your doubts and questions related to your career to set a clear roadmap for your professional life.

Book session - https://wa.me/qr/JQ2LAS7AASE2M1

Pages

  • About US
  • Contact US
  • Privacy Policy

Follow US

  • YouTube
  • LinkedIn
  • Facebook
  • Pinterest
  • Instagram
©2026 Programmingoneonone | WordPress Theme by SuperbThemes