What happens when you type Google.com and press Enter
Achigbulam Charles
Aspiring Data Analyst | Python, Pandas, SQL | Data Visualization Enthusiast ?? | Portfolio Project Contributor | Actively Seeking Internship and Work Opportunities ??
Wondered what happens behind closed doors each time your surf the internet? Here is a walk through of what happen each time you type Google.com and press Enter. In this post, we’ll see what happens when you type a URL into your browser and press Enter, the process starting from DNS request down to the web server where site are hosted and services provided by the server.
DNS Request:
DNS is responsible for translating requested names into IP address, manages the serve an end user would reach when they type domain name into their web browser. For instance, when you type google.com in your browser and tab Enter, the browser would first of all send a DNS request to DNS server, which then translate the domain name into IP address, there directing internet traffic to the location of the website the user is trying to reach. after the DNS server translated the domain name successfully, the IP address would return the browser for the site requested.
TCP/IP:
TCP and IP are protocols (different) working together to deliver data to it's destination in a network. IP is responsible for obtaining and defining the address (IP address of the) application/devices the data will be sent to while TCP ensured transporting and routing data through the network, and ensure data are delivered to the application destination as defined by the IP.
Firewall:
Firewall represent security system controlling incoming and outgoing traffic, based on set rules. the essence of firewall is to protect a network from external threats, for instance hackers. And to allow non-threatening traffic in and to letting the dangerous traffic out.
A firewall protects the server and the data it stores from threats. It is a necessary part of any security architecture, which offer protection to your network security device.
HTTPS/SSL:
HTTPS/SSL also serve as a security measure,which offer protection to web browser. when a user web browser connect to a serve using HTTPS, the serve sends SSL certificate to the user. who then uses the certificate to verify the identity of the server and to establish a connection with an encryption. Encryption ensures that all the data transmitted between the user and the server is secured. thereby making difficult for anyone or hackers to read the data being transmitted.
Load-balancer:
A load balancer is a device that equally distributes network traffic across a number of servers. Load balancer increases capacity and ensure reliability of applications. They save the serve, lessen the burden and improve the overall performance of the server.
Load balancers are of two categories: Layer 4 and Layer 7. Layer 4 load balancers act upon data which are found in network and ensure that layer protocols (IP, TCP, FTP, UDP) are transported while Layer 7 distribute the requests based upon that are data found in application layer protocols such as HTTP.
Requests are received by both layer 4 and layer 7 load balancers and are then distributed to a particular server based on a configured algorithm.
Load balancers ensure reliability by the monitoring of the applications sending requests to servers and applications that can respond in a time.
Web server:
A web server an be in the form a hardware or software. A web serve that serves as a hardware is in the form of a computer that stores web server software and a website's component files such as HTML documents, images, CSS stylesheets, and JavaScript files). A web server connected to the Internet, supports data interchange with other devices connected to the web.
领英推è
A web server as a software, are parts that control how web hosted files are accessed by users. for instance, an?HTTP server. An HTTP server is software that understands?URL?(web addresses) and?HTTP?(the protocol your browser uses to view webpages). An HTTP server are accessed by the websites domain name, and it delivers the content of these hosted websites to the end user's device.
when a client needs a file that is hosted on a web server, the file is requested by the web browser via HTTP. When the request reaches the correct (hardware) web server, the (software)?HTTP server?accepts the request, finds the requested document, and sends it back to the browser, also through HTTP. if the requested document is not found by the serve, it return 404. which means not found.
Application server:
Application server is server that host applications and provide services to client applications. when a web browser send a request to a website, the request is routed to web server, then passes the request to an application server when necessary.
Application server are used in mobile apps, web application backend systems. they process request and obtain result.
Database:
Database server are used to store, manage data that that are stored on the server and provide data access for authorized users. The data store are keep in a central location and are backed up regularly.
when a website is request by a user, the web server receives the request and send it to the database server to retrieve the data requested. And this is done by searching the database or carry out a query. the data are sent to web serve by the database when retrieved. formatted into HTML and sends it back to the user's web browser.
Conclusion:
A lot of things happen behind close doors each time you type google.com in order to furnish you with the information you are seeking. The DSN would first translate your domain name into IP address, TCP/IP generates the connection and firewall to ensure that your data and network is not compromised.
Resourses
Written by