smiles Posted December 20, 2005 Share Posted December 20, 2005 I sometimes see urls don't have the " www " in it , i.e , http://javascript.internet.com . What is the difference ??? Thanks Link to comment Share on other sites More sharing options...
aspnetguy Posted December 20, 2005 Share Posted December 20, 2005 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 More sharing options...
smiles Posted December 21, 2005 Author Share Posted December 21, 2005 well your two url had prove that but I see something wrong here , I had type http://www.javascript.internet.com and I see the notice : "The requested URL could not be retrieved " but when I type http://javascript.internet.com , it takes my to the right site Link to comment Share on other sites More sharing options...
Skemcin Posted December 21, 2005 Share Posted December 21, 2005 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 More sharing options...
smiles Posted December 22, 2005 Author Share Posted December 22, 2005 Clearly fine !!! But anytime I see an exception I will notice you Link to comment Share on other sites More sharing options...
smiles Posted December 28, 2005 Author Share Posted December 28, 2005 www3 , www2 What are they ???I haven't seen www1 , www4 yet Link to comment Share on other sites More sharing options...
Skemcin Posted December 28, 2005 Share Posted December 28, 2005 www3 , www2 What are they ???I haven't seen www1 , www4 yet more subdomains - just like http://javascript.internet.com you can set up http://www2.internet.com or http://www3.internet.com. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now