Lesson 1 of 2 · The Internet · 3 min read · Updated

What happens when you open a website

You type an address and a page appears. Here is the journey in between.

You type an address, press Enter, and a page appears. It feels instant, but several things happened — and knowing them helps when one of them goes wrong.

The journey

  1. You type an address

    Something like bluepearl.co.in. That is a name people can remember — computers do not use names.

  2. The name is looked up

    Your computer asks a DNS server "what is the number for this name?" and gets back an address like 203.0.113.7. It is the phone book of the internet.

  3. A request is sent

    Your browser asks that computer for the page. The request is broken into small packets that travel separately and are reassembled at the other end.

  4. The server answers

    A server is just a computer that stays on and waits for requests. It sends back the page — text first, then images and everything else.

  5. Your browser draws it

    The page arrives as instructions, not as a picture. Your browser reads them and draws the result, which is why the same page looks different on a phone and a laptop.

Reading a web address

text
https://learn.bluepearl.co.in/search?q=pointer
  |        |                    |      |
  |        |                    |      the question you asked
  |        |                    which page
  |        which computer
  how to connect — s means encrypted

Note

The s in https means the connection is encrypted — nobody in between can read it. Never type a password into a page whose address starts with plain http.

Warning

Read the address from the right of the host, not the left. bluepearl.co.in.example.com is not Blue Pearl — it is example.com wearing the name. The real site is always the last two or three parts before the first single slash.

Which site does https://icicibank.com.secure-login.net/ actually belong to?

Create a free account to save your progress, or sign in.