DEV Community

Audry Barimbane
Audry Barimbane

Posted on

what happens when you type https://www.google.com in your browser

DNS Request:

A browser sends a DNS request to a DNS server to resolve the domain name "www.google.com" into an IP address.
TCP/IP Communication:

Once the DNS server responds with the IP address, the browser establishes a TCP connection with the server at that IP address.
Firewall:

The firewall checks the incoming connection request to ensure it's safe and allowed based on configured rules.
HTTPS/SSL:

HTTPS(Hypertext Transfer Protocol Secure) is used, an SSL(Secure Sockets Layer) handshake occurs between the browser and the server to establish a secure, encrypted connection.
Load Balancer:

In a large-scale setup like Google's, incoming requests often go through a load balancer. This device distributes incoming network traffic across multiple servers to ensure efficient use of resources and improved performance.
Web Server:

The load balancer directs your request to one of Google's web servers. The web server processes the HTTP request, retrieves the requested webpage (in this case, the Google homepage), and generates an HTTP response.
Application Server:

For dynamic content or specific functionalities (like search queries on Google), the web server may interact with an application server. The application server runs the necessary scripts or processes to generate dynamic content.
Database:

If the request requires data from a database (e.g., search results from Google's index), the application server communicates with the database server to fetch the required information.
Overall, this sequence of events involves multiple layers of technology working together to deliver the requested webpage securely and efficiently.

Billboard image

Imagine monitoring that's actually built for developers

Join Vercel, CrowdStrike, and thousands of other teams that trust Checkly to streamline monitor creation and configuration with Monitoring as Code.

Start Monitoring

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Engage with a sea of insights in this enlightening article, highly esteemed within the encouraging DEV Community. Programmers of every skill level are invited to participate and enrich our shared knowledge.

A simple "thank you" can uplift someone's spirits. Express your appreciation in the comments section!

On DEV, sharing knowledge smooths our journey and strengthens our community bonds. Found this useful? A brief thank you to the author can mean a lot.

Okay