You enter amazon.com.
The browser gives the name to the laptop’s operating system. Because this simulation assumes nothing is cached, the laptop must ask for a numeric destination.
amazon.comThe browser gives the name to the laptop’s operating system. Because this simulation assumes nothing is cached, the laptop must ask for a numeric destination.
amazon.comThe question is placed inside a User Datagram Protocol packet addressed to the laptop’s configured recursive Domain Name System resolver.
Destination: resolver at 1.1.1.1, port 53The router receives a local frame, removes that local wrapper, and inspects the packet’s destination Internet Protocol address. It does not interpret amazon.com inside the question.
Source: 192.168.1.25:53144 → Destination: 1.1.1.1:53The router compares the destination with its local network prefix. The laptop is local; the resolver is not.
Local network: 192.168.1.0 through 192.168.1.255 → no matchThe router checks its routing table. The fallback entry points toward the Wide Area Network interface and the Internet Service Provider gateway.
Selected path: default route → Internet Service Provider gatewayThe router checks its Network Address Translation table using the private source address, source port, destination address, destination port, and transport protocol.
No matching translation existsIt chooses an unused port on its public address and records a reversible mapping. That record is how the answer will find the correct device later.
192.168.1.25:53144 ↔ 203.0.113.42:62001The private source becomes the router’s public address and reserved port. The destination stays 1.1.1.1. The router updates the checksums, reduces the Time To Live value by one, and forwards the packet.
203.0.113.42:62001 → 1.1.1.1:53After completing the name lookup, the recursive resolver sends its answer back to the router’s public address and the mapped port.
1.1.1.1:53 → 203.0.113.42:62001The translation table points to the original laptop and port. The router rewrites the destination, updates the checksums, and delivers the answer inside the home network.
amazon.com → 198.51.100.80The browser begins a new Hypertext Transfer Protocol Secure connection. Because this is a different conversation, the router creates a second Network Address Translation mapping.
192.168.1.25:54500 ↔ 203.0.113.42:62002Transmission Control Protocol begins with Synchronize, Synchronize and Acknowledge, then Acknowledge. These messages establish sequence numbers and confirm that data can travel in both directions.
Synchronize → Synchronize and Acknowledge → AcknowledgeThe Transport Layer Security message includes supported protocol versions, cipher choices, a random value, a key share, and the Server Name Indication value amazon.com.
Client Hello → amazon.com at 198.51.100.80:443The Server Hello selects compatible security parameters. The server also sends a signed certificate for amazon.com, a key share, and proof that it controls the certificate’s private key.
Server Hello + certificate + key shareThe browser checks the requested name, the validity dates, the signature chain leading to a trusted certificate authority, and the server’s proof of private-key possession.
Name ✓ Dates ✓ Trusted chain ✓ Signature ✓The exchanged key shares let the browser and server independently derive matching symmetric session keys. Finished messages authenticate the handshake transcript.
Shared secret → traffic keys → Finished messagesA Hypertext Transfer Protocol request for the path /, plus the host name and other headers, is placed inside encrypted Transport Layer Security records. Observers can see packets, but not the request contents.
Encrypted request: method GET · path / · host amazon.comRouters forward the packets hop by hop across many independent networks. The globe uses a deliberately simplified route from an illustrative home region to Seattle so the physical distance is visible.
Illustrative home region → public networks → SeattleThe last network hops deliver the encrypted records to the remote edge set. Seattle is illustrative: real traffic may reach a different location according to routing, capacity, and Amazon’s network design.
Public internet uplink → illustrative Seattle edge endpointThe edge endpoint authenticates and decrypts the records, reads the web request, and routes it to an application service. The exact internal Amazon architecture is intentionally simplified here.
Edge endpoint → application serviceFor this explainer, the server prepares the initial document plus references to stylesheets, scripts, fonts, and images. A real commerce site may involve many more internal services.
Document + data + resource referencesA Hypertext Transfer Protocol 200 OK response is divided into encrypted Transport Layer Security records and carried over the reliable connection toward the router.
200 OK → encrypted records → 203.0.113.42:62002The Network Address Translation table maps that public port back to the laptop’s private address and port. The router rewrites the destination and forwards the encrypted records inside the home network.
203.0.113.42:62002 → 192.168.1.25:54500The browser authenticates and decrypts each record, parses the Hypertext Markup Language, and discovers references to stylesheets, scripts, fonts, images, and other resources.
Decrypt → authenticate → parse → discover resourcesAdditional encrypted requests fetch page resources. The browser builds document and style trees, calculates layout, paints pixels, and runs scripts—turning network bytes into the store you can use.
Fetch resources → build trees → layout → paint → interactSIMULATION · DOCUMENTATION-ONLY ADDRESSES · NO LIVE NETWORK REQUEST