What Happens When You Type a URL? DNS, TCP, TLS and HTTP Step by Step
When you type a URL and press Enter, the browser first parses the address and checks whether it must use HTTPS. It then finds the server’s IP address through DNS, using caches first and a resolver if needed. Next it opens a transport connection: TCP for HTTP/1.1 and HTTP/2, or QUIC over UDP for HTTP/3. A TLS 1.3 handshake verifies the server’s certificate and agrees encryption keys.