What is a server?
A server is a computer, or a program on one, that stays online and answers requests from other devices with web pages, email, files or database results. Web, mail, database and DNS are common roles. Most small websites run on shared hosting; a VPS, cloud or dedicated server suits heavier workloads.
For site owners and beginners who want to know what a server is before choosing between shared hosting, a VPS, cloud or a dedicated machine.
knowledge
- Read time
- 3 min
- Sections
- 5
- Updated
- 14 Nov 2026
- Written by
- WebJi® team
Last editorial update: 14 November 2026. Prices follow the dated sources on this page; checkout confirms current charges.
What does a server do?
A server is a computer, or a program on one, that waits for requests from other devices and sends back a response — a web page, an email, a database row or a file. The word names a role in the client–server model, not a brand of hardware: your phone's browser is the client, and the machine that answers it is the server.
Each service listens on a numbered network port, so one machine can answer several kinds of request at once. A browser asking for a secure page knocks on port 443; a mail app fetching messages over IMAP uses port 993; a DNS lookup uses port 53.
- You type an address; DNS turns the name into the server's IP address.
- Your browser opens a connection to that IP on port 443 and sends an HTTP request.
- The web server runs the code, such as PHP, and may query a database server.
- It returns HTML, images and scripts, which your browser assembles into the page.
What types of servers are there?
Servers are named after the service they answer: web, mail, database, file, DNS, game and application servers are the common ones. A small hosting account often runs the web, mail and database roles on the same machine; larger setups split them so one busy role does not slow the others.
| Role | Answers | Default port | Typical software |
|---|---|---|---|
| Web | Page and API requests over HTTP/HTTPS | 80 / 443 | Apache, Nginx, LiteSpeed, IIS |
| Sending (SMTP) and reading (IMAP/POP3) email | 587, 993, 995 | Postfix, Exim, Dovecot | |
| Database | Queries for stored records | 3306 (MySQL), 5432 (PostgreSQL) | MySQL, MariaDB, PostgreSQL, MS SQL |
| DNS | Name-to-IP lookups | 53 | BIND, PowerDNS |
| File | Shared files and uploads | 22 (SFTP), 445 (SMB) | OpenSSH, Samba |
| Game | Player connections to a match or world | Varies by game | Minecraft, Valheim servers |
The HTTP role on its own is explained in what a web server is.
How is a server different from a desktop computer?
A server is built to run unattended around the clock on a fixed network address, while a desktop is built for one person who is sitting in front of it. Server software will run on a laptop for testing, but a public site on a PC goes offline whenever the PC sleeps, reboots for updates or loses power.
- ECC memory: detects and corrects single-bit memory errors that would crash a desktop.
- RAID storage: two or more disks mirror data so one failed drive does not stop the machine.
- Redundant power and cooling: dual power supplies and data-centre air handling.
- Remote management: IPMI or a similar console reboots and reinstalls the machine without anyone on site.
- Server operating system: Linux distributions such as Ubuntu or AlmaLinux, or Windows Server, with no desktop needed.
- Static IP and fast uplink: a public address that does not change and a data-centre network connection.
How do physical, virtual and cloud servers differ?
A physical (dedicated) server is a whole machine for one customer; a virtual server is a slice of a physical host with its own operating system; a cloud server is a virtual machine sold by vCPU, RAM and disk and resized on demand.
| Attribute | Physical / dedicated | Virtual (VPS) | Cloud server |
|---|---|---|---|
| Hardware | The whole machine | A slice of a shared host | A slice drawn from a pool of hosts |
| Own operating system | Yes | Yes | Yes |
| Other customers on the hardware | None | Other virtual machines | Other virtual machines |
| How it grows | Hardware change or a new machine | Upgrade to a larger plan | Change vCPU, RAM and disk |
Single-tenant hardware is covered in what is a dedicated server and what is a bare metal server; virtual slices in what is VPS hosting.
Which server does a website need?
Most small websites do not need a server of their own: shared hosting runs them on a managed machine alongside other sites, and you move up only when traffic, software or security needs outgrow it.
| If the site… | Choose | WebJi® from |
|---|---|---|
| Is a blog, brochure or small business site | Shared hosting | ₹299 a month |
| Needs root access, custom software or its own resources | VPS | ₹499 a month |
| Needs 2+ vCPU and 8 GB RAM that can be resized | Cloud server | ₹5,900 a month |
| Runs a heavy database or must not share hardware | Dedicated server | ₹4,999 a month |
WebJi® published starting prices, before 18% GST; checkout confirms the current figure.
Frequently asked questions
Can my own computer be a server?
Yes, for testing. Tools such as XAMPP turn a PC into a local web server. For a public site it is a poor choice: home connections rarely have a static IP, ISPs often block incoming ports, and the site stops whenever the PC sleeps or loses power.
Where are web servers physically kept?
In data centres: buildings with racks of servers, backup power, cooling, physical security and multiple network carriers. The data centre guide explains tiers and what to ask a host about location.
Is a server the same as hosting?
No. The server is the machine and its software; hosting is the service of renting space or a whole server, with network, power and support included. Shared hosting gives you an account on a server; a dedicated plan gives you the entire machine.
Which operating system do most web servers run?
Linux runs most web hosting, usually with Apache, Nginx or LiteSpeed and PHP. Windows Server is chosen for ASP.NET applications, MS SQL databases and software that only runs on Windows.
Last editorial update: 14 November 2026. Prices follow the dated sources on this page; checkout confirms current charges.
Ready to get started with WebJi®?
Join 12,000+ businesses across India and overseas. INR pricing, 18% GST shown before payment and 24/7 email support in Hindi and English — average first reply under 60 minutes.