A2.2.2 · Network architecture
Servers
By the end you can
Describe what web, mail, file, DNS, DHCP and proxy servers do, and how each scales, stays reliable and stays secure.
A is a computer or program whose job is to provide a service to other devices (clients). “Server” describes the role, not the machine: one physical box can run a web server, a mail server and a file server at once. Different services have different needs, so for each server below think about three qualities: scalability (can it cope with more users?), reliability (what if it fails?) and security (who could abuse it?).
Web server#
A stores a site's files (HTML, CSS, JavaScript, images) and sends them to browsers when asked, over HTTP or HTTPS. For dynamic pages it runs server-side code (Python, PHP, Node.js) to build the page first. Popular examples are Apache, Nginx and IIS. Scaling: several servers behind a reverse proxy. Reliability: if the one server fails, every site on it goes dark, so busy sites keep spares. Security: HTTPS, patching, and limiting what each user can reach.
DNS server#
People remember names; networks need numbers. A (domain name system) server turns a name such as www.example.com into an IP address. No single server knows everything, so it works as a hierarchy:
- Your device asks the local DNS server (often your provider's). If it has the answer in its cache, it replies and that is the end.
- If not, it asks a root server, which knows who handles each ending (.com, .org, .uk) and points to the right top-level domain server.
- The TLD server points to the authoritative server for that domain, which holds the real answer.
- The answer comes back, and the local server caches it for its time to live, so the next person asking is answered instantly.
DNS scales because the data is spread over thousands of servers and heavily cached; it is made reliable by having several servers for every zone. It is also a prime target for attack, so key servers are well protected.
DHCP server#
The DHCP server (A2.1.4) keeps a pool of addresses and leases one, with the subnet mask, gateway and DNS address, to each device that joins. It is often the home router itself. If it fails, new devices cannot get an address, so large networks run a backup DHCP server.
File server and mail server#
A is shared storage on the network. Users see it as a drive or folder on their own computer (using protocols such as SMB or NFS). It scales by adding drives and faster network cards, stays reliable with RAID and backups, and stays secure with read and write permissions on each folder.
A acts as a digital post office: it accepts outgoing mail with SMTP, passes it to other mail servers, and stores incoming mail until you collect it (with POP3 or IMAP). It must cope with large attachments, filter spam and phishing, and be backed up, because people treat email as a permanent record.
Proxy and reverse proxy#
A sits between clients and the internet. Requests go to the proxy first, which can filter them (block sites, require login), cache pages so repeat requests are fast and save bandwidth, log activity, and hide the clients' addresses, since the website only sees the proxy. A turns that around: it sits in front of the servers, shares incoming requests among several of them (load balancing), caches common responses and shields the real servers from the open internet.
Putting them together#
- Your browserwants www.example.com
- DHCP servergave you an address earlier
- Proxy serverschool or company filter
- DNS serversnames to addresses
- Reverse proxyin front of the website
- Web serverholds the page
Step 1 of 7 · DHCP server
Earlier, when your laptop joined the network, the DHCP server leased it an IP address and told it the gateway and the DNS server to use.
Staff open and save shared documents as if they were on their own computer.
A new phone joins the Wi-Fi and is given an address and a gateway automatically.
The school blocks games sites and keeps a copy of popular pages so they load fast.
A shop’s site shares its traffic between four identical servers.
It turns shop.example.org into 203.0.113.20.
It stores your messages until you collect them and passes your outgoing ones to other servers.
It runs server-side code and sends back HTML, CSS and images when a browser asks.
0 of 7 matched
Check yourself
Servers
Quick questions, made fresh every time and marked here. Do a few until they feel easy.
Exam practice
Paper 1-style questions
5 questions · 17 marks
Write your answer as you would in the exam, then show the mark points and tick each one your answer made. These are our own questions in the style of the exam, not past-paper questions.
1.Describe how a DNS server turns a domain name into an IP address.
[4]Describe: A detailed account: say what happens, step by step if it is a process.
2.Describe two functions of a proxy server in a school network.
[3]Describe: A detailed account: say what happens, step by step if it is a process.
3.Outline how a reverse proxy differs from an ordinary proxy and what it is used for.
[3]Outline: A brief account: the main points, without much detail.
4.Describe how a file server can be made reliable and secure.
[4]Describe: A detailed account: say what happens, step by step if it is a process.
5.Identify the server that (a) holds and exchanges email, (b) gives devices their IP addresses, (c) delivers web pages to browsers.
[3]Identify: Pick out the answer from the options or the context.
Past papers
Old exam questions on this topic
From HL Paper 1, May 2014 to November 2025. These papers were set on the previous syllabus, so the wording may differ from today's exam, but the topic is the same. Find the questions and markschemes in your school's past-paper pack.
| Paper | Question | Marks | About |
|---|---|---|---|
| May 2025 TZ2 | 7 | 2 | What a DNS server does (same in TZ3) |
| May 2021 | 1 | 2 | Roles a computer can play on a network |
| November 2017 | 2(b) | 1 | The role of a server |
| November 2015 | 4(a) | 1 | What a server is |
In a nutshell
- A server is a computer (or program) that provides a service to other devices, the clients. One machine can run several servers.
- DNS server: turns names into IP addresses, using a hierarchy (root, top-level domain, authoritative) and caching. DHCP server: leases IP addresses and settings.
- Web server: stores and delivers pages over HTTP or HTTPS. Mail server: sends, receives and stores email (SMTP, POP3). File server: shared storage with permissions and RAID.
- Proxy server: stands between clients and the internet to filter, cache and hide. A reverse proxy stands in front of servers to balance load and protect them.
- For each server, think of scalability, reliability and security: load balancing and caching, redundancy and backups, permissions and patching.
