Jump to content

Server

From Simple English Wikipedia, the free encyclopedia
Revision as of 22:03, 7 December 2024 by Jorjulio (talk | changes) (In last sentence before "Web server" heading, changed "a special ip number" to "an IP address, a special number"; also made "IP address" a link to the corresponding Wiki simple-English article.)
A stack of servers

A server is a computer that serves many kinds of information to a user or client machine. Usually a server will only do a few things for many clients. Every type of thing a server does is called a service. Services are used by other computers that are called clients. The relationship between client and server is called a client-server relationship. For example, Wikipedia has web servers which have a service for sending web pages over the Internet. Your client computer talks to Wikipedia's web page service to get web pages for you. A server can also host internet games, share files, and give access to peripheral equipment such as printers. In simple words, the individual computers are connected to some powerful computers called servers. These store files and information in the form of website. With an Internet connection, different users anywhere in the world can access these files.

For servers and clients to talk to each other, they need to be connected to a network. They need to use the same communication protocol, a set way for machines to talk to other machines. It is like a language. For example, the Wikipedia server runs the HTTP to send web sites to your computer, and your computer uses the HTTP Protocol to ask Wikipedia for pages.

Overview

Usually, servers are specially made to be more powerful and reliable. They are usually more expensive than normal computers. Sometimes, servers are clustered into a "server farm" of many servers working together to do one service.

The server might slow down if there are too many people accessing the server at the same time, resulting in a high load. An overloaded server might also shut itself down automatically.

In a peer-to-peer system, every computer is both a client and a server to the others. This is commonly put into file sharing and VOIP. However, this can help in attempts at piracy.

Typical server operating systems are Linux, FreeBSD, NetBSD, and OpenBSD. Unlike other computers, a server often has no monitor, keyboard, or mouse. When a server doesn't have to do very much, server software can run on a computer that is also doing other things.Initially, such servers were connected to clients known as terminals that did not do any actual computing. These terminals, referred to as dumb terminals, existed simply to accept input via a keyboard or card reader and to return the results of any computations to a display screen or printer. The actual computing was done on the server. Servers also have an IP address, a special number that other devices use to find the servers.

Web server

A web server is a type of server that is used to host websites. Examples of web server software include Apache or IIS. A web server can host one, or many, websites. The default port for a web server to listen to is port 80 (HTTP) or 443 (HTTPS).

Some web servers do other things than just serving a web page. For example, they may have something called SSI that makes building a website easier.

Web servers use services like CGI to let software on the server make web pages. Some of the programming languages that can use CGI are scripting languages like Perl, Python, PHP, or ASP. Some are compiled languages like C++ or Java.

Reference

Reference