Solved about digital address of pages of a website

August 28, 2011 at 00:14:28
Specs: Windows 7, intel core i5/ 4GB
Hello friends!
I actually have a query regarding ip addresses. We know that every domain name basically translates to set of 4 integers (in case of IPv4) which is basically the address of a website. But when we navigate to different pages of the same website, then do all of them have the same IP address?
If they do, then how does system differentiates between two of the pages displayed?

For example--->Does the following links

http://translate.google.co.in/?hl=en&tab=wT
and
"http://news.google.co.in/nwshp?hl=en&tab=wn"

have the same IP address. If they do, then how does the system differentiates between the two pages?


See More: about digital address of pages of a website

Report •

#1
August 28, 2011 at 00:43:58
The web server uses the URL to determine which page to display. The two URLs that you quote are different, hence point to different pages.

The dotted quad only locates the computer that the server is running on, not individual pages on it.


Report •

#2
August 28, 2011 at 01:03:02
i probably made a mistake in the examples I provided!
I actually wish to know that if we have to reach a certain page of a website without using its URL, but a set of numbers then how do we do it?

Clarification---> For example if we enter "45.123.67.34" (any random ip) in our website address bar, we are navigated to the main index page of the website having that ip address. Right?
Now if we click a link on the index page, say "MUSIC", we are navigated to some other page that resides on the same server and we can notice that the URL is something new for this other page. (probably "www.xyz.com/MUSIC")

Now my point is that is there any way that I enter a set of numbers in the web address bar so that I am directed straight to "www.xyz.com/MUSIC" rather than reaching the index page of the site first and then going to MUSIC link?


Report •

#3
August 28, 2011 at 01:24:48
✔ Best Answer
"Now my point is that is there any way that I enter a set of numbers in the web address bar so that I am directed straight to "www.xyz.com/MUSIC" rather than reaching the index page of the site first and then going to MUSIC link?"

No. As you correctly state, the dotted quad will only take you to the index page of the default web site on the computer hosting the web server.

Dotted quads identify computers, not web pages.

(Disclaimer: That's not 100% accurate. You can have several virtual servers on the same computer with different dotted quads. In that case using the dotted quad as the URL would take you to the index page of that particular virtual server. But you still need to use proper URLs to access other pages.)


Report •

Related Solutions

#4
August 28, 2011 at 04:05:22
Thank you very much ijack for helping me out here! :-)

Report •

Ask Question