logo

WEB SERVER


1. What is a Server and a Web Server?

Elaboration:

  • A server is a program that runs on a machine.
  • Its main job is to provide services to other machines called clients that connect to it.
  • The server listens for requests from clients, processes those requests, and then sends back the necessary information.
  • The communication between a client and a server uses the HTTP protocol.
  • A web server is a special kind of server.
  • It is responsible for providing web content.
  • A web server mainly hosts websites and lets users access them using the Internet.
  • The main job of a web server is to store, process, and deliver web pages to clients.

Important Points:

  • All web servers are servers, but not all servers are web servers.
  • Web servers provide security by checking for malware and vulnerabilities in requests.
  • For websites with dynamic content, web servers work together with other servers called Application servers.

Examples:

  1. When you type www.google.com in your browser, your request goes to Google's web server, which sends back the homepage.
  2. School websites use web servers to share circulars, homework, or announcements.
  3. An online shopping platform uses web servers to show available products to customers.

2. Types of Web Servers: Shared and Dedicated

Elaboration:

  • Web servers can be classified into two categories:
    1. Shared Web Server: Shared by multiple clients or users. It uses more resources to support all traffic. If many users access at once, website performance can slow down.
    2. Dedicated Web Server: Used only by one client or website. It can handle high traffic and has better performance and security.

Examples:

  • Shared Web Server: A small business uses a shared server to save hosting costs, but their site may slow down if many people visit it at the same time.
  • Dedicated Web Server: A popular news website uses a dedicated server to ensure the site stays fast even if many people visit during breaking news.

3. Differences between Server and Web Server

Elaboration:

  • Server: Any computer or device that provides services (like storage, printing, applications) to other machines in a network.
  • Web Server: A specific type of server meant to store, process, and deliver web content via the internet.

Important Points:

  • Servers handle various services (file, print, application, communication, etc.).
  • Web servers are designed to serve web pages, mainly responding to HTTP requests.

Examples:

  • A file server lets you access or save files from multiple computers in a school lab.
  • A web server sends back a webpage with your exam timetable when you log into your school’s site.

WEBSITE


4. What is a Website?

Elaboration:

  • A website is a collection of related webpages. These may contain images, videos, and other digital media.
  • All webpages of a website are located under the same domain name.
  • The pages are linked to each other through hyperlinks.
  • Websites are written in HTML and hosted on web servers.
  • Each website is managed by an individual, company, or organisation.

Examples:

  1. www.cbse.nic.in contains information and resources by India's CBSE board.
  2. www.wikipedia.org holds articles on a variety of topics, all stored under a single domain.

5. Components of a Website

Elaboration: There are four main components:

  1. Domain Name: A unique name (like www.google.com) that helps people find a website easily.
  2. Site Files: All the content and code (images, documents, HTML files) that make up the website.
  3. Web Host: The service that provides space on the Internet to store the site's files. Examples include servers running Apache or Windows OS.
  4. Content Management System (CMS): Software that helps manage a website’s content. Common examples are WordPress, Joomla, and Drupal.

Examples:

  • The website ‘www.schoolabc.com’ has a domain name, stores homework files as site files, and pays for web hosting from a hosting company.
  • A teacher uses WordPress (a CMS) to update class notes on the school website.

Activity: Comparing Shared vs. Dedicated Web Servers

Step-by-Step Instructions:

  1. Create two websites with similar simple content (like a school homepage).
  2. Host one site on a shared server and the other on a dedicated server.
  3. Have students open both sites at the same time from different computers.
  4. Ask more students to access both sites simultaneously.

Observations:

  • The site on the shared server may slow down or take longer to load as more students access it.
  • The dedicated server maintains better speed and performance.

Key Learning:

  • Shared servers can slow down if too many users access them.
  • Dedicated servers handle many users efficiently.

WEB PORTAL


6. What is a Web Portal?

Elaboration:

  • A web portal is like a gateway. It gives access to a wide range of Internet services (email, search engines, e-commerce, etc.).
  • A web portal often suggests links and related websites to help users find information.
  • It collects information from many sources and presents it in one place.

Examples:

  1. Yahoo.com offers email, news, search, weather, and more from a single homepage.
  2. MSN.com allows users to access Outlook email, Bing search, news, and more.

7. Differences between Website and Web Portal

Elaboration:

FeatureWebsiteWeb Portal
DefinitionCollection of related web pages.Gateway to a variety of internet services.
AuthenticationUsually open to all, no login needed.Requires user login and personalises information.
PersonalisationGeneral content for all users.Shows customised or selected information to users.
LinkageLinks mostly to its own pages.Links to various other services and websites.

Examples:

  • A university web portal allows students to check results, pay fees, and fill forms after logging in.
  • The CBSE website provides updates, circulars, and syllabi to all visitors without login.

Scenario Based Questions and Answers


  1. Scenario: Your school wants to create a website to post homework and announcements.
    • Question: What are the main components required for the website?
    • Answer: The website needs a domain name, site files (like homework documents), a web host for storage, and a content management system for easy updates.

  1. Scenario: A friend’s small business site is running slowly during a discount sale.
    • Question: Which type of web server should the business switch to for better performance?
    • Answer: The business should consider moving from a shared web server to a dedicated web server to handle the extra traffic.

  1. Scenario: You want to read the latest news and check your email from the same place.
    • Question: Should you visit a website or a web portal?
    • Answer: You should visit a web portal, like Yahoo or MSN, as it provides both email and news services in one place.

  1. Scenario: A company website requires staff to log in to access resources.
    • Question: Is this website functioning as a regular website or a web portal?
    • Answer: It’s functioning as a web portal because it requires authentication and provides personalized access.

  1. Scenario: You click on a school’s homepage and want to learn about its facilities and teachers.
    • Question: What helps you navigate to these different pages on the school’s website?
    • Answer: Hyperlinks on the homepage help you easily move to different pages, such as ‘Facilities’ and ‘Teachers’.