🌐 Web Basics

How the Web Works

वेब कैसे काम करता है

⏱ 1 hr2 topicsLive playground
🎯 By the end: You can explain what happens between typing a web address and seeing a page, and define browser, server, domain, hosting and DNS in plain words.

Before you build for the web, it helps to know — in plain language — what actually happens when you visit a site. You don't need anything technical here; just a clear picture. Once you have it, words like 'server', 'domain' and 'hosting' stop being mysterious, and everything you build afterwards makes more sense.

1The journey of a web page

When you type vidaara.org and press Enter, a quick conversation happens behind the scenes:

BrowserDNSServer1. which address?2. it's 12.34.56.783. send me the page4. here's the HTML, CSS…
  1. Your browser asks DNS (the web's phone book) what numeric address belongs to vidaara.org.
  2. DNS replies with the IP address of the server.
  3. The browser asks that server for the page.
  4. The server sends back the HTML, CSS and images, and the browser assembles them into the page you see.
All of this usually happens in well under a second, every single time you open a page.
Key points
  • Visiting a site is a conversation: browser → DNS → server → page.
  • DNS turns a human address (vidaara.org) into a numeric IP address.
  • The server sends back HTML, CSS and images; the browser assembles them.

2The words, in plain language

WordIn plain English
BrowserThe app you view websites in — Chrome, Safari, Firefox, Edge. It requests pages and draws them.
ServerA computer, always on, that stores a website and sends it out when asked. "The site is hosted on a server."
DomainThe human-friendly address you type, like vidaara.org. You rent one from a registrar.
HostingRenting space on a server to keep your website's files. Your domain points to your hosting.
DNSThe Domain Name System — the web's phone book, matching domains to server IP addresses.
A simple way to hold it: a domain is like your home address, hosting is the actual house where your stuff lives, and DNS is the directory that tells the postman which house your address points to.

Here's the encouraging part: the websites you're about to build are just HTML and CSS files. Put them on hosting, point a domain at them, and the whole journey above carries them to anyone in the world. You already understand the destination — now you'll learn to build what arrives.

Key points
  • Browser = the app that views sites; Server = the always-on computer that stores and sends them.
  • Domain = the address you type; Hosting = the space on a server holding your files.
  • DNS = the phone book matching domains to server addresses.
  • A website is just HTML/CSS files on hosting, reached via a domain.

★ Practical: trace the journey

No code this time — just check your understanding by explaining each step in your own words:

  1. In one sentence, what does the browser ask DNS for?
  2. What does the server send back to the browser?
  3. Explain the difference between a domain and hosting.
  4. Name the browser you're using right now and one other.

Ready to test yourself?

Take the short quiz. Score 60% or more to mark this lesson complete.

Start the quiz →

💡 Log in to save your progress and earn the certificate.