13/09/2025
What is a Server?
A server is a special computer that stores data and provides services (like websites, email, or files) to other computers called clients.
π₯οΈ Types of Server
β¬ Web Server
β’ Work: Runs websites.
β’ How:
β You type a website in your browser β Http Request goes to the server.
β Server sends back the page data β Http Response comes β The website shows on your screen.
β¬ Mail Server
β’ Work: Sends and receives emails.
β’ How:
β You send an email β Goes to the mail server through SMTP protocol.
β Another mail server receives it β Delivers to the receiverβs inbox.
β¬ DNS Server
β’ Work: Changes a website name into an IP address.
β’ How:
β You type example. com β DNS finds its IP Address (like 100. 101. 102. 103).
β Your browser then connects to the web server using that IP address.
β¬ Proxy Server
β’ Work: Acts as a gatekeeper between you and the internet.
β’ How:
β You first connect to the Proxy.
β Proxy sends your request to the internet or can block it.
β This gives more privacy and sometimes faster speed.
β¬ FTP Server
β’ Work: Upload or download large files.
β’ How:
β Connect using FTP software/browser.
β Easily transfer big files from one place to another.
β¬ Origin Server
β’ Work: The main server where real data is stored.
β’ How:
β When a visitor opens a website β First goes to Edge Server/CDN.
β If not found there, the original data comes from the Origin Server.
π Key Point
All servers are computers but each has a different job:
β Some give websites,
β Some run emails,
β Some change domain names to IPs,
β Some share files.