Talk to the NOC, IST hours — +91 75994 50220 support@bigdomainhost.com
हिंदी में पढ़ें Read in Hindi
Guide

What is a server? The client-server model and types of servers

"Server" can mean a program, a machine in a data centre, or a plan you rent in 30-day periods. This guide explains all three: how clients and servers talk, the main types of servers and the ports they use, the difference between physical and virtual servers, and how to choose one.

Short answer: A server is a program, or the computer running it, that waits for requests from other devices over a network and answers them. The device that asks, such as a browser, is the client. Servers are named by their job: web, database, mail, file, DNS, game or application, and run on physical (bare metal) or virtual machines (VPS, VDS, cloud).

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

  1. Find the address. The client turns a name such as example.com into an IP address by asking a DNS server.
  2. 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.
  3. Secure it. Most services now add TLS on top, so the traffic is encrypted.
  4. 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 and server, side by side
ClientServer
Who starts the conversationThe client, every timeWaits for a request
Network roleConnects out to an address and portListens on a known port
ExamplesChrome, a mobile banking app, Outlook, TallyPrime on an office PC, the Minecraft launcherNginx, MySQL, Postfix, a Windows file share, a DNS resolver, a Minecraft world
Usually runs onA phone, laptop or desktopA machine that stays on all day, often in a data centre
ServesOne personMany 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.

Common types of servers, what they do, and their default ports
Server typeWhat it doesProtocol and default portCommon software
Web serverSends web pages, images and API responses to browsers and appsHTTP on TCP 80, HTTPS on TCP 443Nginx, Apache, LiteSpeed, IIS
Database serverStores data and answers queries from applicationsIts own protocol; PostgreSQL listens on TCP 5432 by defaultMySQL, MariaDB, PostgreSQL, Microsoft SQL Server
Mail serverAccepts, relays and delivers emailSMTP relay on port 25, message submission on port 587Postfix, Exim, Microsoft Exchange
File serverShares folders so many users can read and write the same filesSMB (Windows shares), NFS, SFTPWindows Server file shares, Samba, OpenSSH
DNS serverTurns domain names into IP addressesDNS on port 53, over UDP and TCPBIND, Unbound, PowerDNS, public resolvers
Game serverRuns the shared game world and keeps every player in syncGame-specificMinecraft Java and Bedrock servers, Paper
Application serverRuns your code: business logic, APIs, ERP and accounting softwareUsually HTTP behind a web server, or Remote Desktop (TCP 3389) for Windows desktop appsGunicorn, 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.
Four ways to get a server: physical or virtual
Bare metalVPSVDSCloud server
What you getThe whole physical machineA virtual machine with shared vCPUA virtual machine with pinned physical coresA virtual machine from a large pool
CPU shared with others?NoYes, fair-shareNo; cache, memory bandwidth, disk and network are still sharedUsually yes, unless you buy dedicated instances
Typical useLarge databases, heavy steady load, licences tied to physical coresWebsites, APIs, WordPress, bots, stagingBuilds, encoding, game servers, ERPShort-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:

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
Which server fits which job, with Bigdomainhost starting prices (excluding 18% GST)
If you needChooseStarting price
A website, blog or WordPress, managed for youcPanel hosting or WordPress hostingFrom ₹49 (US$0.56)/mo
Root access for apps, Docker, bots, APIsKVM VPS (Linux)From ₹674 (US$7.66) per 30 days
Windows Server with Remote DesktopWindows VPSAsk for the size you need
Steady CPU for builds, encoding, ERPVDS, dedicated coresVDS 4: ₹3,576 (US$40.64) per 30 days, by enquiry
A whole physical machineDedicated server or Windows dedicated serverFrom ₹14,499 (US$164.76)/mo
AI training, inference or renderingGPU serverOn enquiry
TallyPrime for an office, from anywhereTally on CloudFrom ₹1,899 (US$21.58)/mo for 1 to 2 users
A Minecraft world for Indian playersMinecraft server hostingFrom ₹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 )

Answers

Frequently asked questions

Still unsure? Call +91 75994 50220 or write to support@bigdomainhost.com — a human replies in IST hours.

What is a server in simple words?

A server is a computer, or a program on one, that waits for requests and answers them over a network. When you open a website, your browser asks a web server for the page and the server sends it back. The device that asks is called the client.

What is the name of a machine connected to a server?

It is called a client. A client is any device or program that connects to a server and sends it requests: a laptop, a phone, a browser, a mobile app, or even another server acting as a client on that connection.

Which method establishes a connection between a client and a server?

For most services it is the TCP three-way handshake: the client sends SYN, the server replies SYN-ACK and the client answers ACK. The client connects to the server's IP address and port, for example port 443 for HTTPS. Many services then add a TLS handshake for encryption.

What are the main types of servers?

The common types are web servers, database servers, mail servers, file servers, DNS servers, game servers and application servers. They are named by the job they do, not the hardware, and one machine can run several of them at once, each listening on its own port.

Is a server just a powerful computer?

Not necessarily. Any computer can act as a server; it is a role. Machines built as servers are made to run all day, with ECC memory, redundant power and disks, remote management and a data-centre network with a fixed public IP, rather than for raw speed.

What is the difference between a physical and a virtual server?

A physical (bare metal) server is a whole machine for one customer. A virtual server, such as a VPS, is a virtual machine on a shared physical host, with its own operating system and root access. A VDS is a virtual server whose CPU cores are reserved for you alone.

How much does a server cost in India?

At Bigdomainhost, a Linux KVM VPS starts at ₹674 per 30-day period, a VDS with 4 dedicated cores is ₹3,576 per 30 days (by enquiry), and a bare metal dedicated server starts at ₹14,499 a month, all before 18% GST. Shared cPanel hosting, which is an account on a server rather than a whole server, starts at ₹49 a month.

Support that picks up the phone.

In IST hours, in Hindi or English, and WhatsApp replies fastest at any time. Sales, migration and emergencies all reach the same engineers. No offshore queue, no 48-hour first reply.

Need cPanel or WHM with the ports already sorted?

Web & cPanel hosting comes with cPanel ready to log in to, reseller hosting adds white-label WHM, and a KVM VPS can have cPanel & WHM pre-installed. Call +91 75994 50220 or email support@bigdomainhost.com.