Lesson card · Architecture from zero
How a web request travels
- Name
- DNS → IP
- Connect to port
- HTTP request
- Response + status
You type a name like shop.example. DNS, the internet's phone book, turns it into an IP address.
Your browser connects to that address on a port (443 for secure web traffic) and sends an HTTP request, such as GET /cart.
The server sends back a response with a status code (200 OK, 404 Not Found, 500 server error) and the content.
New words DNS: the system that turns a name like example.com into an IP address
New words IP address: the number that identifies a machine on a network
New words status code: a number in every HTTP response saying how the request went, like 200 or 404