Server Types and Roles
Level 1 · What a server is
The common jobs a server is given: files, mail and databases. What a NAS is, and why each job often gets a server of its own.
Course contentsLesson 2 of 8
Level 1 · What a server is
Level 2 · Shapes and racks
Level 3 · Parts that keep it running
Level 4 · Remote control and where servers live
After this lesson you can
- Name four common server roles
- Say what a NAS is and who uses one
- Explain why roles are kept apart
10 mincovers 4 glossary entries
Worth reading first: Servers and Clients
The jobs a server is given
A server is named after the job it does. A file server stores shared files. A mail server sends and keeps email. A database server holds records and answers questions about them. One machine can do several jobs, but a busy office usually gives each job a server of its own.
A file server keeps one copy of every shared file in one place. Each person sees the shared folders on their own computer, like a normal drive. The server checks who may open or change each file. Nobody works on an old copy sent round by email.
A NAS, or network-attached storage, is a small box of disks that shares files over the network. It is a simple file server made for homes and small offices. You set it up in a web page, not with commands. Most hold two or more disks, so one disk can fail without losing data.
A mail server sends and receives email. When you send a message, your mail server passes it to the mail server of the person you wrote to. That server keeps it in their inbox until they open it. Running your own is hard, because other mail servers quickly block one that looks untrusted.
A database server runs a database and answers questions from apps. An app asks for the orders from last week, and the server sends back those rows. It should never be open to the whole internet. Only the apps that need it should be able to reach it.
Roles are kept apart for three reasons. Each job gets its own memory and disks, so one busy job does not slow the others. A fault in one does not take down the rest. And a database with no link to the outside world is far harder to break into.
A common mistake is to treat a NAS as a backup. If a file is deleted or locked by an attack, the NAS holds the same damaged copy. Two disks inside it protect you from one dead disk, not from a mistake. A real backup is a second copy kept somewhere else.
Worked example
A dental practice sets up its servers
A practice with 12 staff keeps patient records in a database server in a locked cupboard. Only the booking app can reach it.
Letters and scans live on a NAS with two 4 terabyte disks. An outside firm handles email. Running a mail server well would take a full-time person.
The words for this lesson4
Check yourself
Why is a NAS with two disks not a backup?
Finished this lesson?
Marking it complete also marks its 4 glossary entries learned, which updates your roadmap and your saved page. 0 are already marked.