I don't understand some url's

why do the url’s of some free webhosts like (www.tripod.com) does not have the “www”.

for eg: i registered at tripod.com and my url is :

http://myperception.tripod.com. why is there no “www” in my url?

Another thing:

why does www.brinkster.com add a number(31) in my case after the www?

my url at brinkster.com is goes like this:

www31.brinkster.com/javadi82

Why did they add the ‘31’ over there?

Maybe this lil article will clear things up.

http://www.eeicommunications.com/eye/utw/96jan.html

a website url doesnt have to have ‘www’ infront of it. infact, the address is a hostname like any other hostname, that resolves to the IP of the server. most sites would probably still work, even if you leave the ‘www’ off, because the main domain resolves to the same IP as the ‘www’ subdomain.

as for brinkster, at their size, one server is not enough to handle all the accounts they maintain. so, they have many servers, each assigned it’s own IP, and each has its own hostname. so, they decided for keeping things in order, to name each subdomain ‘www’ followed by a number… oddly enough, while checking this right now, i found the numbers don’t have as much meaning as i expected them to have… www1 and www2 don’t resolve at all. www3 upto www16 all resolve to the same IP (66.70.10.41). www17 to www19 don’t resolve. www20 to www24 all resolve to 66.70.10.42. www25 upto www29 all resolve to 66.70.10.43. www30 resolves to 66.70.10.41 again. www31 upto www35 resolve to 66.70.23.74.

ok, you probably don’t care about that though.

oh, another thing you might want to know, another possibility is to have a bunch of subdomains pointing to the same IP. but when accessed, the web server recognizes the hostname requested, and simply points to a different directory on the same server. thats the case with your tripod account. any subdomain (except some predefined ones such as ‘www’) resolve to the same IP, ‘209.202.196.70’. they don’t even need to define each one, they just set it so any subdomain resolves to it. (even sjdkhufsdfjkhsdfiasdfjsdfu.tripod.com ;)) each username gets defined the webserver configuration, which at it’s turn points to the right directory on the server when accessed.

hope i made this any clearer :slight_smile:

thanks timothy and brainy.

by the way timothy what r ur favourite URL’s(it could be anything).

i want to expand my URL knowledge.

Please reply.

If you want to check out some cool sites then visit www.noiz22.com