URL stands for Uniform Resource Locator. URL is the address of the website which you can find in the address bar of your web browser. It is a reference to a resource on the internet, be it images, hypertext pages, audio/video files, etc.
What is DNS :
DNS is short for Domain Name System. Like a phonebook, DNS maintains and maps the name of the website, i.e. URL, and particular IP address it links to. Every URL on the internet has a unique IP address which is of the computer which hosts the server of the website requested.
Steps for what happens when we enter a URL :
- Browser checks cache for DNS entry to find the corresponding IP address of website.
It looks for following cache. If not found in one, then continues checking to the next until found.
- Browser Cache
- Operating Systems Cache
- Router Cache
- ISP Cache
- If not found in cache, ISP’s (Internet Service Provider) DNS server initiates a DNS query to find IP address of server that hosts the domain name.
The requests are sent using small data packets that contain information content of request and IP address it is destined for.
- Browser initiates a TCP (Transfer Control Protocol) connection with the server using synchronize(SYN) and acknowledge(ACK) messages.
- Browser sends an HTTP request to the web server. GET or POST request.
- Server on the host computer handles that request and sends back a response. It assembles a response in some format like JSON, XML and HTML.
- Server sends out an HTTP response along with the status of response.
- Browser displays HTML content
- Finally, Done.
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.
- Type of Configurations provided by HDLC
- Type of Stations for HDLC Protocol
- Type-C Port in Computer Network
- Difference between Document Type Definition (DTD) and XML Schema Definition (XSD)
- Different Transmission States of SDLC
- Introduction of Light Fidelity (Li-Fi)
- Examples of Data Link Layer Protocols
- Random Walk
- Introduction of Probabilistic Computing
- Additive Secret Sharing and Share Proactivization - Using Python
- Introduction of Novell NetWare
- Hidden Station Problem (HSP) in Wireless LAN
- SRTP Fullform
- Basic Frame Structure of SDLC
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.