What is a Web Server and How Does it Work ?
What is a Server ?
- A server is a computer that provides data to other computers. The entire structure of the Internet is based upon a client-server model.
- Web server helps to deliver web content that can be accessed through the Internet. The most common use of web servers is to host websites, as the internet is not only used to fetch the information but there are other uses such as gaming, data storage or running business applications.
- The primary job of a web server is to deliver web pages to clients. The communication between the client node and server node takes place using the Hypertext Transfer Protocol (HTTP). The delivered web pages include images, style sheets and scripts in addition to text content.
Server Software :-
A web server commonly known as HTTP server or application server is a program that serves content using the HTTP protocol. This content is generally in the form of HTML documents, images, and other web resources, but can include any type of file. The content served by the web server can be pre-existing (static content) or generated on the fly (dynamic content).
- Apache web server – the HTTP web server: Apache Software Foundation developed the free and open source web server and can be installed and made to work on almost all operating systems including Linux, Unix, Windows, FreeBSD, Mac OS X and more. Almost, 60% of the web server machines run the Apache web server.
2. Apache Tomcat: Apache Tomcat is free and open source web server that can run on different operating systems like Linux, Unix, Windows, Mac OS X, Free BSD. It was developed to support servlets and JSP scripts. It can serve as a standalone server.
3. Lighttpd: Lighttpd is a free web server distributed with the FreeBSD operating system. This open source web server is fast, secure and consumes much less CPU power. Lighttpd can also run on Windows, Mac OS X, Linux and Solaris operating systems.
4. Jigsaw: Jigsaw (W3C’s Server) is introduced by the World Wide Web Consortium. It is open source and free and can run on various platforms like Linux, Unix, Windows, Mac OS X Free BSD etc. Jigsaw is written in Java thus can run CGI scripts and PHP programs.
Services Provided by the Servers :-
- Today many services are being provided by the Web Server. Many of the servers are based on Cloud computing which is popular amongst the researchers, scientists & entrepreneurs.
- Cloud Computing is distributed computing over a network, and has the ability to run a program or application on many connected computers at the same time.
- It is used, where various computing concepts that involve a large number of computers are connected via real-time communication network such as the Internet.
Various services provided by the Web server are:
- Cost Efficient: Web server is the most cost efficient method to use, maintain and upgrade. Traditional desktop software costs companies a lot in terms of finance. On the other hand, it is available at much cheaper rates. Besides, there are many onetime-payment, pay-as-you-go and other scalable options available, which makes it very reasonable for the company.
- Resource Sharing: Web Server has the capability to store unlimited information such as Google Drives, Cloud computing etc. The space where the data can be stored is shared by the other users at the same time like hard disk can be shared on physical network as LAN.
- Data Sharing: With the help of web servers one can easily access the information from anywhere, where there is an Internet connection using Google docs such as Documents, Excel sheets, Drawings, Powerpoint presentations etc.
- Backup and Recovery: As all the data now a days is stored on web servers, backing it up and restoring the same is relatively much easier than storing the same on a physical device. Hence, the entire process of backup and recovery much simpler than other traditional methods of data storage.
Types of Servers :-
- Mail Server: Mail Servers provides a centrally-located pool of disk space for network users to store and share various documents in the form of emails. Since, all the data is stored in one location, administrators need only backup files from one computer.
- Application Server: An application server acts as a set of components accessible to the software developer through an API defined by the platform itself. For Web applications, these components are usually performed in the same running environment as its web server(s), and their main job is to support the construction of dynamic pages.
- File Transfer Protocol (FTP) Server: FTP uses separate control and data connections between the client and the server. FTP users may authenticate themselves in the form of a username and password, but can connect anonymously if the server is configured to allow it. For secure transmission username and password must be encrypted using FTP and SSL.
- Database Server: A database server is a computer program that provides database services to other computer programs or computers using client-server model. Database management systems frequently provide database server functionality, and some DBMSs (e.g., MySQL) depend on the client-server model for database access. Such a server is accessed either through a “front end” running on the user’s computer where the request is made or the “back end” where the request is served such as data analysis and storage.
- Domain Name System (DNS) Server: A name server is a computer server that hosts a network service for providing responses to queries. It maps a numeric identification or addressing component. This service is performed by the server in response to a network service protocol request.
The primary function of these DNS servers is the translation (resolution) of humanmemorable domain names and hostnames into the corresponding numeric Internet Protocol (IP) addresses. The secondary function of DNS is to recognize a name space of the Internet, used to identify and locate computer systems and resources on the Internet.
Latest Computer Post :- Click Here
Important Point :-
❖ The World Wide Web (WWW) is an internet based service, which uses common set of rules known as Protocols, to distribute documents across the Internet in a standard way.
❖ The Internet is a massive network of networks. It connects millions of computers together globally, forming a network in which any computer can communicate with any other computer as long as they are both connected to the Internet.
❖ Search engines are the programs which are needed to extract the information from the internet.
❖ A search engine works in the following order: Web crawling, Indexing, Searching
❖ A web server commonly known as HTTP server or application server is a program that serves content using the HTTP protocol.
❖ A Web page can contain an article, or a single paragraph, photographs, and it is usually a combination of text and graphics.
❖ A browser is a software that lets you view web pages, graphics and the online content.
❖ The Secure Sockets Layer (SSL) is a protocol, uses Hypertext Transfer Protocol (HTTP) and Transport Control Protocol (TCP) for managing the security of a message transmission on the Internet.
❖ A blog is a web site like any other, but it is intended to offer personal opinions of people on their hobbies, interests, commentaries, photo blogs, etc.
❖ URL’s, or ‘uniform resource locators’, are the web browser addresses of internet pages and files. It is the way to locate a file or document on the Internet.
There are two types of URL: Absolute and Relative.
A protocol is a set of rules that governs the communication between computers on a network.
Basic internet Computer Questions and Answers
Q: What is the internet?
(a) a single network
(b) a vast collection of different networks
(c) interconnection of local area networks
(d) none of the mentioned
Click to show/hide
Q: What is an ‘intranet’?
(a) Internal internet is used to transfer information internally
(b) Internal internet is used to transfer information to the outside company.
(c) Internal network designed to serve the internal formational needs of a single organization.
(d) Internal network designed to transfer information between two organizations
Click to show/hide
Q: __ servers store and manage files for network users.
(a) Authentication
(b) Main
(c) Web
(d) File
Click to show/hide
Q: ISP stands for
(a) Internet Security Protocol
(b) Intelligent Service Package
(c) Internet Service Provider
(d) Intelligent Service Provider
Click to show/hide
Q: Which one of the following protocols is not used on the internet?
(a) HTTP
(b) DHCP
(c) DNS
(d) none of the mentioned
Click to show/hide
Q: What does the internet term “thread” refer to?
(a) A series of linked messages
(b) A self-replicating virus
(c) A category of browser
(d) A common fault in display devices
Click to show/hide
Q: What’s the name of the program or service that lets you view e-mail messages ?
(a) Web browser
(b) E-mail clients
(c) E-mail id
(d) Internet
Click to show/hide
Q: When sending an e-mail, the ______ line describes the contents of the message?
(a) to
(b) subject
(c) contents
(d) CC
Click to show/hide
Q: http stands for
(a) hyper text transfer protocol
(b) hypertet transmission protocol
(c) high transfer transport protocol
(d) hyper transfer text protocol
Click to show/hide
Q: Internet access by transmitting digital data over the wires of a local telephone network is provided by
(a) leased line
(b) digital subscriber line
(c) digital signal line
(d) none of the mentioned
Click to show/hide
Q: Sending an e-mail is similar to __
(a) picturing an event
(b) narrating a story
(c) writing a letter
(d) creating a drawing
Click to show/hide
Q: What does SMTP in an SMTP server stand for ?
(a) Simple Mail Transfer Protocol
(b) Serve Message Text Process
(c) Short Messaging Text Process
(d) Short Messaging Transfer Protocol
Answer ⇒ ??