Quiz Entry - updated: 2026.07.05
What happens technically when you type a URL and press Enter?
The browser parses the URL, asks DNS for the server's IP, opens a (possibly encrypted) connection, sends an HTTP request, then fetches and renders the HTML and everything it references.
It feels instant, but a whole chain of steps fires for https://www.hslu.ch/studies:
- Parse the URL — split out protocol, domain, and path.
- DNS resolution — look up
www.hslu.ch, getting back an IP like152.96.36.52. - TCP connection — open a connection to that IP on the right port (80 for HTTP, 443 for HTTPS).
- TLS handshake — for HTTPS only, verify the server's certificate and agree on encryption keys.
- HTTP request — send
GET /studies HTTP/1.1. - Server processing — the server finds or generates the resource.
- HTTP response — server returns
200 OKplus the HTML. - Parse HTML — the browser reads the HTML and discovers more resources, e.g.
<link href="style.css">and<script src="app.js">. - Additional requests — it fetches each of those (CSS, JS, images).
- Render — once enough has arrived, the page is painted on screen.
Key takeaway: steps 8-9 are why one page is many requests — the first response is just the HTML skeleton, and the browser must chase down every referenced file separately.
Go deeper:
Client–server model (Wikipedia) — the request/response architecture underpinning every step of this chain.
Overview of HTTP (MDN) — fills in what the "HTTP request" and "HTTP response" steps actually contain.