Jump to content
xisto Community
Sign in to follow this  
longtimeago

What Happens When You Enter A Website And Hit Enter ? A detailed explaination is given

Recommended Posts

All You need to know about surfing the internet when you hit a website.All of us surf the internet almost daily.But what happens while browsing and whats the backend process. Hopemy explaination will guide you.First of all when we want to surf the internet we open a webborwser and we locate the address bar or the URL bar.URL is nothing but Uniform resource locator .We enter the website address in the URL space or what we call the address bar and we hit enter.Actually what happens is every website has a webserver and when we connect it we actually connect to the webserver,each webserver has an IP address. For example for https://www.google.de/?gfe_rd=cr&ei=BwkjVKfAD8uH8QfckIGgCQ&gws_rd=ssl the IP address is 209.85.175.99 .so instead ofentering https://www.google.de/?gfe_rd=cr&ei=BwkjVKfAD8uH8QfckIGgCQ&gws_rd=ssl you can also enter the IP adderess and it will direct you to the google homepage.But why do we use Domain names intstead of IP address?The answer for this question is so simple that we as humans we find it difficult the remember numbers thats the IP address .Let us consider a real life example. as of today if we consider that you know 100 websites byheart and you usethem regularly , if at all you had to remember the IP adderss for those 100 websites instead of the Domain namesdo you think that you will remember ? Certainly not. so only for the advantage of the humans this IP to Domain nameConversion has been implemented.Now let us study how does this work. Now the scenario is you want to connect to a web server of a particular IPaddress and you dont know the actual IP address.You know only the DoMAIn name.There are some servers known as DNS . these are Domain Namer Server. Each webserver has its own Domain Name serverIt is the work of this server to Convert the Name into the IP address.Let us consider you and me as the client for the webserver. The Scenario now is that the client wants to connect to the server but the client dont know the IP address of the server it just know the Domain name so can the client connect to the Domain Name server of the webserver and get the IP and then connect itself to ther server?No the Client without knowing the IP address of the server it has to collect the IP and then with the Ip onlyit can establish connection.What does the client do inorder to know the IP .?THere are 10 ROOT DOMAIN NAME SERVERS IN THE WORLD,when the client enters the domain the Local Domain Name Server of the client is checked whether it has any Cachae and in that the IP is available for the requested domain.The Local Domain name server will contain the IP address if an only if the Domain has been visited previosly.In this case the IP address is retrived from the local Domain Name Server and the connection is established between the client and the requested webserver.Now what if the local DOmain Name Server dosent contain the Ip address of the requested Domain.In such a casethe Local DoMain name server contacts the roon Domain Name server. The root Domain name server just looks at the ending portion of the domain whether it is .com or .net or so , then it transfers the control to the DNS server of .COM .net or the specified extention. Then in this case let us consider client has requested for an .com website.So now the control has been transfered to the .com Domain Name server. Now the .com Domain name server reads the subdomain or the domainitself if there is no subdomain and it points or transferrs control to the Domain Name Server of the requestedweb server.Now the control has been transfered to the requested webserver's Domain name server. This Server has the IP address of its web server and it gives it tothe client.Now the Client has got the IP address of the requested webserver and it connects to the website directly.Thus this is what happens when you enter a website in the browser and hit enter.

Share this post


Link to post
Share on other sites

yes defenately, that is what happendsaltough can you describe what happens when you enter a website through a proxy?

Er you get a load of pop ups and ad ware spammed all over your pc that's what happens :D

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.