Why Does Clicking on a URL Take Me to a Server?

Why Does Clicking on a URL Take Me to a Server? thumbnail
Links in Web pages lead to other Web pages located on Web servers.

A URL is a Uniform Resource Locator, which is the official name for a Web address. The URL contains the full address of a file on a Web server that contains a Web page. The method of creating links in Web pages enables visitors to one page to move to another page without having to type in the address of the new page in the address field of the Web browser. That new Web page might be on the same site, on a different site on the same Web server, or on a site on a different Web server.

  1. Links

    • The links in Web pages are actually called “hyperlinks” and are central to the Hypertext Markup Language, or HTML, which is the language in which all Web pages are written. A link is a piece of colored underlined text that acts as a button. When a visitor clicks on the link, the browser copies an address hidden within the code of the page and associated with that text.

    Browser Actions

    • The browser deals with the link in one of three ways. It either copies the address to the address bar of the same window in which the Web page with the link appears, opens a new window with the new address in the address field, or, if the window containing the link was spawned by another window, the new page could be opened in the parent window. The option that is implemented depends on the state associated with the reference behind the link text.

    Domain Name

    • Once a browser window is open with the link address in the address bar, the browser has to find the Web server associated with that URL. A website's address is called a “domain name.” This is the “www.something.com” part of the address. At this point, the browser is not interested in any other part of the URL. A domain name is not a real address; it's a reference to an IP address. The IP address is defined by the Internet Protocol, and every computer connected to the Internet has to have a unique IP address -- so the Web browser has to find the IP address associated with that domain name.

    Web Servers

    • Although a link can refer to a file on the user's computer, this usually happens only when an application uses HTML as a format for a presentation which is downloaded as a bundle of files onto the user's computer. This is rare. Another instance where the target Web page might be on the local computer is when the page is under development. In normal Web operations, the desired Web page is always on a sever. A Web server is a large computer, contactable over the Internet, which exists solely to hold and distribute Web pages. The browser reaches that server by applying to a Domain Name Server for the IP address associated with the domain name of the URL in its address field.

Related Searches:

References

  • Photo Credit Hemera Technologies/AbleStock.com/Getty Images

Comments

Related Ads

Featured