New Blog

I have started blogging at Idiots Den. Please visit
Idiots den
for more topics.

Monday, May 11, 2009

Domains and SubDomains

Surprisingly, my blog is a sub-domain in the toplevel domain "blogspot.com". The webpages are also maintained in the servers similar to the way we maintain files in our hard drives.Suppose I have a jpeg file in the following location

"D:\Zerofactor\Pictures\factor.jpg"

You might have understood that the picture is in a folder named Pictures, wgich inturn is in a folder called Zerofactor located in D drive.

Check the following

http://images.google.co.in/intl/en_ALL/images/images_hp.gif


This google image search image with the name images_hp.gif is in a folder called images which inturn is in en_ALL(english all) in intl(international) folder located in images.google.com

Here google.com is the top level domain, where as "images" is the subdomain.Sub domains are also similar to folders,but they are handled differently. A subdomain in a top level domain must again be redirected to a specific folder in that domain.My blog neotracks is a subdomain like any other blog in blogspot.All the information regarding my blog will be in that folder and any one with the id and password details are given access to the blog.

Whenever you type http://www.neotracks.blogspot.com it first resolves the domain name and in the blogspot server it redirects to the neotracks subdomain.Each time a user creates a blog, a sub domain is started and if an unused subdomain is sought, it directs to the registration page.

No comments: