You use the internet every second of your life. But what actually happens when you type google.com and hit Enter?
Step 1 — Your browser asks for directions
Your computer doesn't know where google.com lives. So it asks a DNS server — think of it as the internet's phone book — "where is google.com?"
The DNS server replies with an IP address like 142.250.194.46. That's Google's actual address on the internet.
Step 2 — Your browser knocks on Google's door
Your browser sends an HTTP request to that IP address. It's basically saying: "Hello Google, please send me your homepage."
Step 3 — Google's server responds
Google's server receives your request and sends back the HTML, CSS, and JavaScript files that make up the page.
Step 4 — Your browser builds the page
Your browser reads those files and renders them into the visual page you see — with colors, images, buttons, and text.
The whole thing happens in under 1 second
DNS lookup → HTTP request → Server response → Browser renders. Every time you visit a website.
Key terms to know
- IP Address — A unique number identifying every device on the internet
- DNS — The phone book that converts website names to IP addresses
- HTTP/HTTPS — The language browsers and servers use to talk to each other
- Server — A computer that stores website files and sends them on request
The one-line summary
You type a URL → DNS finds its address → your browser requests the page → the server sends it back → your browser shows it to you.
Written by Raaga Priya Madhan — CSE student, Bangalore. I write about CS concepts simply. Connect with me on LinkedIn
Top comments (0)