What happens when you type google.com in your browser and press Enter?!
Imagine typing google.com and hitting Enter. Your browser shows https://www.google.com, right? Think of it like telling your phone who to call. but have you wondered what is happening behind the scenes?
Ok, Let’s discuss the process, starting with the simple act of typing google.com into your browser. The address bar displays the URL https://www.google.com
let's break it into three parts:
Now that we’ve written the URL let's press enter and start the journey to find out what happens after that.
DNS Lookup
When you type google.com, your browser doesn’t know where google.com lives on the internet. So, it asks a DNS server for help, like asking for a phone number when you only know someone’s name. The DNS server looks through its big list of domain names and tells your browser the IP address (a unique number) for google.com. This is like getting the phone number so your browser can call up Google’s server.
TCP/IP
TCP (Transmission Control Protocol) and IP (Internet Protocol). first TCP It is a data transfer protocol that sends a packet of data and waits for the recipient to tell him that the data has arrived in order to send the next packet. the IP It is a set of rules and agreements through which communication takes place over the Internet. They work in conjunction to establish a link between a client and a server and facilitate the exchange of data between them.
Firewall Check: The Security Gatekeeper
As the request travels, it might hit a firewall, which acts like a gatekeeper. The firewall examines the request based on rules set by the network administrators. It’s looking for anything suspicious(bad traffic), like a security guard checking IDs before letting people into a building. If the request looks safe, it’s allowed through
HTTPS/SSL
HTTPS (Hypertext Transfer Protocol Secure) is a safe version of HTTP, which is used to transmit data on the internet. It encrypts the data sent between your browser and Google's server.
SSL (Secure Sockets Layer)
SSL is the standard security technology for establishing an encrypted link between a web server and a browser. This link ensures that all data passed between the web server and browsers remain private and integral. SSL is an industry-standard and is used by millions of websites in the protection of their online transactions with their customers.
Here’s how SSL works when you visit a website:
Load Balancer
A load balancer is a technology that plays a crucial role in network traffic management. It’s like a traffic director for the internet, ensuring that no single server gets overwhelmed with requests. Here’s a deeper look into how a load balancer works:
领英推荐
Web server
Web server Is a combination of hardware and software that work together to deliver web content to users. Here’s a detailed explanation:
Hardware Aspect
The hardware is a computer that stores web server software and a website's component files (for example, HTML documents, images, CSS stylesheets, and JavaScript files). A web server connects to the Internet and supports physical data interchange with other devices connected to the web.
Software Aspect
On the software side, a web server includes several parts that control how web users access hosted files. At a minimum, this is an HTTP server. An HTTP server is software that understands URLs (web addresses) and HTTP (the protocol your browser uses to view webpages). An HTTP server can be accessed through the domain names of the websites it stores, and it delivers the content of these hosted websites to the end user's device.
Static vs. Dynamic Web Servers
Application server and database
Think of a web server as a librarian who gives you the book you ask for. Now, an application server is more like a detective. It doesn’t just hand you a book; it listens to your question and digs around for the answer.
So, when you go to google.com and search for something, here’s what happens:
Conclusion
thschema illustrating the flow of the request created when you type https://www.google.com in your browser and press Enter.
Founder & CEO, Group 8 Security Solutions Inc. DBA Machine Learning Intelligence
6 个月Much thanks for your post!
cs student &&intern in alx software engineer program && problem slover
6 个月Really Helpful ?? ??