What is a server?
A server is a program, or the computer running it, that waits for requests from other devices over a network and answers them. Your browser, phone app or laptop is the client: it asks. The server listens, does the work (sends a web page, runs a database query, stores a file, looks up a domain name) and replies. Most servers are ordinary computers built to run all day without a screen or keyboard.
The word names a role as much as a machine. The HTTP standard, RFC 9110, says the terms client and server "refer only to the roles that these programs perform" on a particular connection, and that the same program can be a client on one connection and a server on another. A web server that queries a database is a server to your browser and a client to the database.
What is a server in networking? The client-server model
In the client-server model, one side starts every conversation and the other side waits to be asked. A server program opens a port, a numbered door on its IP address, and listens. A client connects to that IP address and port, sends a request in a protocol both sides understand, and receives a response. TCP, the transport most servers use, identifies each connection by a pair of sockets: the client's IP address and port at one end, the server's IP address and port at the other.
PostgreSQL's documentation describes its own design this way: a server process manages the database files, accepts connections from client applications and performs database actions on their behalf. The client can be a command-line tool, a desktop program or a web server, and the two can sit on different machines, talking over a TCP/IP connection. Replace "database" with files, mail, names or game worlds and you have described nearly every server on the internet.
How a client connects to a server
- Find the address. The client turns a name such as example.com into an IP address by asking a DNS server.
- Open a connection. Over TCP this is the three-way handshake, which RFC 9293 calls the procedure used to establish a connection: the client sends SYN, the server replies SYN-ACK and the client answers ACK.
- Secure it. Most services now add TLS on top, so the traffic is encrypted.
- Request and response. The client sends a request in the service's protocol (HTTP, SQL, SMTP, SMB, RDP) and the server replies.
One machine can run many server programs at once, each on its own port. On a Linux server, sudo ss -tlnp lists the TCP ports that are listening and the process behind each one.
| Client | Server | |
|---|---|---|
| Who starts the conversation | The client, every time | Waits for a request |
| Network role | Connects out to an address and port | Listens on a known port |
| Examples | Chrome, a mobile banking app, Outlook, TallyPrime on an office PC, the Minecraft launcher | Nginx, MySQL, Postfix, a Windows file share, a DNS resolver, a Minecraft world |
| Usually runs on | A phone, laptop or desktop | A machine that stays on all day, often in a data centre |
| Serves | One person | Many clients at the same time |
Types of servers
Servers are named after the job they do, not the hardware. The table lists the common types, the protocol each speaks and its default port, taken from the protocol standards and vendor documentation listed in the sources. A single machine often runs several of them.
| Server type | What it does | Protocol and default port | Common software |
|---|---|---|---|
| Web server | Sends web pages, images and API responses to browsers and apps | HTTP on TCP 80, HTTPS on TCP 443 | Nginx, Apache, LiteSpeed, IIS |
| Database server | Stores data and answers queries from applications | Its own protocol; PostgreSQL listens on TCP 5432 by default | MySQL, MariaDB, PostgreSQL, Microsoft SQL Server |
| Mail server | Accepts, relays and delivers email | SMTP relay on port 25, message submission on port 587 | Postfix, Exim, Microsoft Exchange |
| File server | Shares folders so many users can read and write the same files | SMB (Windows shares), NFS, SFTP | Windows Server file shares, Samba, OpenSSH |
| DNS server | Turns domain names into IP addresses | DNS on port 53, over UDP and TCP | BIND, Unbound, PowerDNS, public resolvers |
| Game server | Runs the shared game world and keeps every player in sync | Game-specific | Minecraft Java and Bedrock servers, Paper |
| Application server | Runs your code: business logic, APIs, ERP and accounting software | Usually HTTP behind a web server, or Remote Desktop (TCP 3389) for Windows desktop apps | Gunicorn, Node.js, Tomcat, TallyPrime on Windows Server |
Web server
The most familiar type: it answers HTTP and HTTPS requests from browsers. Static files go straight back; dynamic pages are handed to application code. How Nginx, Apache and LiteSpeed differ, and how a web request flows step by step, is covered in our guide what is a web server.
Database server
Holds the data behind an app: orders, users, invoices, stock. Applications connect to it, send queries and get rows back. Keep a database server on a private network or bound to localhost, and do not expose its port to the whole internet.
Mail server
Email moves between Mail Transfer Agents using SMTP. RFC 6409 says message relay between servers continues to use SMTP over port 25, while mail programs normally submit outgoing messages on port 587. A second protocol, IMAP or POP3, lets your mail app read the mailbox.
File server
On Windows networks this means SMB. Microsoft's documentation describes the SMB server as the component that shares files, printers and named pipes and responds to requests from SMB clients; mapping a network drive to \\server\share makes your PC the SMB client. A Windows 11 PC can share a folder too, which shows again that "server" is a role.
DNS server
RFC 1034 splits DNS into name servers, which hold information about parts of the domain tree, and resolvers, which fetch that information for client programs. DNS uses port 53 over both UDP and TCP. When a site moves to a new server, cached DNS answers are what make the old address linger for a while.
Game server
In multiplayer games, every player's game is a client and one server holds the world: positions, blocks, inventories and rules. The server's CPU speed and its distance from players decide how smooth the game feels, which is why a server in India gives Indian players lower ping than one in Europe. See how to make a Minecraft server.
Application server
Runs the code that a web server or desktop client calls: a Django or Node.js app behind Nginx, a Java app in Tomcat, or a Windows program such as TallyPrime that staff open over Remote Desktop. Microsoft's documentation gives 3389 as the default Remote Desktop port.
Physical vs virtual servers: bare metal, VPS, VDS and cloud
Every server program needs a computer to run on, and today that computer is usually one of four kinds. Underneath all of them is a physical machine in a data centre; what changes is how much of it is yours.
- Bare metal (dedicated) server: a whole physical machine for one customer. No other customer shares the CPU, RAM or disks. See what is a bare metal server.
- VPS (virtual private server): a virtual machine on a shared host. A hypervisor such as KVM, which its project describes as a full virtualization solution for Linux, gives each virtual machine its own virtualized network card, disk and other hardware, and each runs its own operating system. Your vCPUs share physical cores with other customers' virtual machines. See what is a VPS.
- VDS (virtual dedicated server): a virtual machine whose vCPUs are pinned to physical cores that no other customer uses, so CPU performance stays steady. See VDS vs VPS.
- Cloud server: usually a virtual machine on a large pool of hosts, created and deleted on demand through an API and often billed by the hour. NIST's definition of cloud computing stresses on-demand network access to a shared pool of resources that can be provisioned and released quickly. In practice, most cloud servers are virtual machines like a VPS, with more automation and hourly billing around them.
| Bare metal | VPS | VDS | Cloud server | |
|---|---|---|---|---|
| What you get | The whole physical machine | A virtual machine with shared vCPU | A virtual machine with pinned physical cores | A virtual machine from a large pool |
| CPU shared with others? | No | Yes, fair-share | No; cache, memory bandwidth, disk and network are still shared | Usually yes, unless you buy dedicated instances |
| Typical use | Large databases, heavy steady load, licences tied to physical cores | Websites, APIs, WordPress, bots, staging | Builds, encoding, game servers, ERP | Short-lived or autoscaled workloads |
For a fuller comparison, including set-up time, resizing and when bare metal is worth the cost, see what is a bare metal server.
What about shared hosting? On shared hosting you do not get a server at all: you get an account on a server that many websites share, managed for you through a panel such as cPanel. It is the cheapest way to run a website or WordPress, but you cannot install your own software or open your own ports.
Server vs desktop computer: what is the difference?
Any computer can run server software; a laptop hosting a Minecraft world for friends is a server. Machines built as servers differ in what they are made for:
- Uptime: they run 24 hours a day for years, often with redundant power supplies and fans, and are managed remotely over SSH or a remote console instead of a monitor.
- Reliability: ECC memory that detects and corrects memory errors, and RAID or replicated storage so one failed disk does not lose data.
- Network: a fixed public IP address and a fast, symmetric connection in a data centre, which a home broadband line rarely gives you.
- Operating system: usually Linux (Ubuntu, Debian, AlmaLinux) or Windows Server, with no desktop running unless you need one.
How to choose a server
Start from the job, not the hardware. Five questions settle most choices:
- What will it run? A website or WordPress may only need shared hosting. Custom software, Docker, bots, databases and game servers need a VPS or bigger, with root access.
- Linux or Windows? Linux costs less and runs most web software. Choose Windows Server for .NET, MSSQL, Remote Desktop users or Windows-only programs such as TallyPrime.
- How steady is the CPU load? Bursty load suits a VPS. Long, CPU-heavy jobs suit a VDS. A whole machine, specific hardware or a GPU means a dedicated or GPU server.
- How much RAM and storage? Running out of RAM is the commonest reason a small server slows down. Size for your peak, not your average.
- Where are your users? Distance adds delay. For users in India, a server in Mumbai or Delhi NCR answers faster than one in Singapore or Europe, and you can measure it with our latency test.
| If you need | Choose | Starting price |
|---|---|---|
| A website, blog or WordPress, managed for you | cPanel hosting or WordPress hosting | From ₹49 (US$0.56)/mo |
| Root access for apps, Docker, bots, APIs | KVM VPS (Linux) | From ₹674 (US$7.66) per 30 days |
| Windows Server with Remote Desktop | Windows VPS | Ask for the size you need |
| Steady CPU for builds, encoding, ERP | VDS, dedicated cores | VDS 4: ₹3,576 (US$40.64) per 30 days, by enquiry |
| A whole physical machine | Dedicated server or Windows dedicated server | From ₹14,499 (US$164.76)/mo |
| AI training, inference or rendering | GPU server | On enquiry |
| TallyPrime for an office, from anywhere | Tally on Cloud | From ₹1,899 (US$21.58)/mo for 1 to 2 users |
| A Minecraft world for Indian players | Minecraft server hosting | From ₹749 (US$8.51)/mo |
Bigdomainhost servers run in two regions, Mumbai (BOM-1) and Delhi NCR (DEL-1), and server plans are prepaid in 30-day periods. For prices across providers, see server cost in India.
How to connect to a server
Once you rent a server you manage it remotely. On Linux you use SSH: ssh root@your-server-ip from Windows Terminal, macOS or Linux, covered step by step in how to SSH into a server. On Windows Server you use Remote Desktop (Remote Desktop Connection on Windows, the Windows App on a Mac). Then point your domain at the server's IP address with an A record so clients can find it by name.
Bigdomainhost wrote this guide and sells the VPS, VDS, dedicated and other server plans linked here. Prices are our own, as listed on 27 November 2026.
Sources (checked )
- IETF (RFC Editor): RFC 9110, HTTP Semantics (3.3 Connections, Clients, and Servers; 4.2 default ports 80 and 443)
- IETF (RFC Editor): RFC 9293, Transmission Control Protocol (three-way handshake, sockets and ports)
- PostgreSQL documentation: Architectural Fundamentals (client/server model)
- PostgreSQL documentation: Connections and Authentication: port (5432 by default)
- IETF (RFC Editor): RFC 5321, Simple Mail Transfer Protocol (SMTP client, server and MTA)
- IETF (RFC Editor): RFC 6409, Message Submission for Mail (ports 587 and 25)
- IETF (RFC Editor): RFC 1034, Domain Names: Concepts and Facilities (name servers and resolvers)
- IETF (RFC Editor): RFC 1035, Domain Names: Implementation and Specification (port 53)
- Microsoft Learn: What is SMB file sharing for Windows and Windows Server
- Microsoft Learn: Change the Remote Desktop listening port (3389 by default)
- KVM project: Kernel-based Virtual Machine, main page
- NIST: SP 800-145, The NIST Definition of Cloud Computing
- man7.org: ss(8), Linux manual page