Jump to content

smallll query


smiles

Recommended Posts

The url you used in your post is a subdomain.internet.com is the main domain and javascript is the sub.When you register a domain (www.mydomain.com) you auto matically get http://mydomain.com as well. You just have to set it up on the dns server.http://www.aspnetguy.com and http://aspnetguy.com will take you to the same place.There is no difference whether you add the www or not.

Link to comment
Share on other sites

When you buy a domain name, you buy mydomain.com. What comes before that is entirely configured on the domain name server that keeps track of your site - mydomain.com. Each hosting provider has different ways that they allow you to set this up. Obviously, if you are your own host (like I am here at work) I can do what ever I want.Typically, it is common to not see anymore than ONE prefix infront of your domain name. As aspnetguy pointed out, that is called a subdomain. But to answer your question, www.javascript.internet.com will only work if it is configured to. Since teh domain name is "interent.com" then you would typically only see ONE prefix, in this case "javascript". That cannot be preceeded with "www" becuase each single prefix is programmed to point to a different place. Think of it like an intersection in a roadway where the intersection is internet.com. You can either turn left and go to www.internet.com or you can turn right and goto javascript.internet.com. You cannot turn left and turn right at the same time - www.javascript.internet.com.This analogy even helps you understand how these subdomain can often point to a subfolder of teh main "www" site. In the intersection think of the right hand turn being a road that by-passes the whole town and later meets back up to the main road in a different place. That's waht a subdomain would do - forward you to a folder (nested however deep) in the site - a short cut if you will.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...