A Server Is a Job, Not Just a Box
A server is software that provides a service to another program. People also use the word for the computer running that software. The role comes from the service it provides, such as answering requests. It doesn't depend on how large or powerful the machine looks.
The program asking for the service is the client. A browser acts as a client when it asks for a webpage. The web server accepts the request and sends a response.
Those names describe the two sides of that exchange. They don't permanently divide computers into machines that only ask and machines that only answer.
What Does 'the Cloud' Really Mean?
A webpage can lead to another request
Suppose you open an order-history page on a website. Your browser asks the web application for the page. The application may need stored order information before it can produce the answer.
It can request that information from a database server, a program that manages stored records and performs database operations for other applications. The database server returns a result, and the web application uses it to prepare the response for your browser.
On the browser's connection, the web application is providing a service. On its connection to the database, it is asking for one. It is a server in the first relationship and a client in the second.
The HTTP specification defines client and server as connection roles. HTTP is the request-and-response protocol used for web communication; other kinds of servers use other protocols.
PostgreSQL's architecture documentation gives a concrete database example. Its server program manages database files, accepts connections and carries out requests from client applications, which can include a web server. The browser doesn't need to open the database files itself.
Not every webpage needs that chain. A server can also return an existing file. The difference is between delivering stored content and preparing a response using application work, possibly with help from another service.
- Run a test server or a home lab without giving up desk space.
- Start right away with 16GB of memory and a 500GB SSD already inside.
- Drive two 4K screens when it doubles as an everyday desktop.
Being called a server supplies no automatic security. The software and the machine still need appropriate protective measures and maintenance. The U.S. National Institute of Standards and Technology frames this as continuing work in its general server-security guidance.
Where the hardware enters the picture
When someone says “the server is in that rack,” they mean the machine running the service. When they say “restart the web server,” they may mean the server program. Context tells you which meaning is intended.
Mozilla's web-server explanation recognizes the hardware, software and combined uses of the term. A personal computer can host web files; unusually powerful hardware isn't part of the definition.
A host is the computer system participating in network communication. A network host may run server software, client software or both. That is why “host,” “server” and “client” can describe related things without meaning exactly the same thing.
The service name tells you its job: a web server handles web requests, a database server handles database requests, and a file service makes files available through its supported operations. It doesn't tell you everything about the equipment underneath.
What's a Client? The Software That Makes the Request

Network Services: One Computer Asks, Another Does the Job

Web Servers: What Happens After the Browser Asks

QUOTE:
"Amateurs hack systems, professionals hack people."
