What is the difference b/w http://www.something.com and http://something.com
-
www. ? ;P Me think that the browser will add the missing elements or the URL when it's trying to resolve the address; or maybe do a quick search and return the first find. for example, in firefox, if you type codeproject, it will take you here.
Maximilien Lincourt Your Head A Splode - Strong Bad
-
www. is a subdomain of something.com I still don't get why everyone started using www.something.com anyway. To help the ignorant public remember websites?
This demographic will quite happily click on shiny things however:laugh:
Found on Bash.org [erno] hm. I've lost a machine.. literally _lost_. it responds to ping, it works completely, I just can't figure out where in my apartment it is.
-
Not a full answer as I don't know all the technical terms but... The
http
part is the protocol. For instanceftp://something.com
would communicate with that domain using the ftp protocol.https
is an http protocol connection but secured using SSL (normally). There are many other protocols but those are the three major ones.something.com
is the full domain name. TheCOM
part is theTLD
(top level domain e.g.co.uk
,co.za
,net
,org
etc.) This is registered with a domain name provider and mapped to some nameserver. [Edit] Anders pointed out that I was incorrect about the term alias, it is in fact a sub-domain. So in the following think sub-domain and not alias. I think this also changes the "setup on the server" bit.[/Edit] Thewww
ofwww.something.com
is as far as I remember called an alias. It is setup on the server that the domain points to. You can have as many aliases as you wish, or none at all. In this case www stands for world wide web and has just become some kind of agreed on standard. It is not neccesary but it is a good idea to have. For instance some servers will, confusingly, have the following:http://ftp.something.com
which is like a ftp connection but over the http protocol. Useful but confusing. I don't know if there is a limit but you can string aliases together e.g.http://subalias1.subalias2.subalias3.something.com
is valid. Depending on your server software you can have aliases pointing to different folders/directories on your server. Or they can all point to the same one or a mixture. e.g.http://www.something.com
andhttp://something.com
will generally point to the same place as many of us like to skip the www bit (for me, servers that balk at skipping the www bit are a PITA). Hope that helps :) regards, Paul Watson South Africa The Code Project South-East Asia Disaster: How you can help Pope Pius II said "The only prescription is more cowbell. " -
www. ? ;P Me think that the browser will add the missing elements or the URL when it's trying to resolve the address; or maybe do a quick search and return the first find. for example, in firefox, if you type codeproject, it will take you here.
Maximilien Lincourt Your Head A Splode - Strong Bad
Unfortuanately this is not true. The server has to be setup to handle alias-less URLs. The Code Project servers have been setup to handle an URL without the www bit gracefully. It has to be setup with IIS though, it is not default behavouir. The browser idea is nice but it might cause other unintended problems, who knows. regards, Paul Watson South Africa The Code Project South-East Asia Disaster: How you can help Pope Pius II said "The only prescription is more cowbell. "
-
Not a full answer as I don't know all the technical terms but... The
http
part is the protocol. For instanceftp://something.com
would communicate with that domain using the ftp protocol.https
is an http protocol connection but secured using SSL (normally). There are many other protocols but those are the three major ones.something.com
is the full domain name. TheCOM
part is theTLD
(top level domain e.g.co.uk
,co.za
,net
,org
etc.) This is registered with a domain name provider and mapped to some nameserver. [Edit] Anders pointed out that I was incorrect about the term alias, it is in fact a sub-domain. So in the following think sub-domain and not alias. I think this also changes the "setup on the server" bit.[/Edit] Thewww
ofwww.something.com
is as far as I remember called an alias. It is setup on the server that the domain points to. You can have as many aliases as you wish, or none at all. In this case www stands for world wide web and has just become some kind of agreed on standard. It is not neccesary but it is a good idea to have. For instance some servers will, confusingly, have the following:http://ftp.something.com
which is like a ftp connection but over the http protocol. Useful but confusing. I don't know if there is a limit but you can string aliases together e.g.http://subalias1.subalias2.subalias3.something.com
is valid. Depending on your server software you can have aliases pointing to different folders/directories on your server. Or they can all point to the same one or a mixture. e.g.http://www.something.com
andhttp://something.com
will generally point to the same place as many of us like to skip the www bit (for me, servers that balk at skipping the www bit are a PITA). Hope that helps :) regards, Paul Watson South Africa The Code Project South-East Asia Disaster: How you can help Pope Pius II said "The only prescription is more cowbell. "You almost got it right ;) www.codeproject.com is not an alias for codeproject.com, it's a subdomain. In DNS terms it's either an A-Record or a CName ;) www.codeproject.com and codeproject.com can point to different ip-addresses. If it was an alias it would point to the same ip ;) - Anders Bill's Bar
My PhotosWDevs - The worlds first DSP, free blog space, email and more. Now also with forums :)
-
You almost got it right ;) www.codeproject.com is not an alias for codeproject.com, it's a subdomain. In DNS terms it's either an A-Record or a CName ;) www.codeproject.com and codeproject.com can point to different ip-addresses. If it was an alias it would point to the same ip ;) - Anders Bill's Bar
My PhotosWDevs - The worlds first DSP, free blog space, email and more. Now also with forums :)
Ah, thanks for the clarification, Anders. regards, Paul Watson South Africa The Code Project South-East Asia Disaster: How you can help Pope Pius II said "The only prescription is more cowbell. "
-
You almost got it right ;) www.codeproject.com is not an alias for codeproject.com, it's a subdomain. In DNS terms it's either an A-Record or a CName ;) www.codeproject.com and codeproject.com can point to different ip-addresses. If it was an alias it would point to the same ip ;) - Anders Bill's Bar
My PhotosWDevs - The worlds first DSP, free blog space, email and more. Now also with forums :)
Anders Molin wrote: www.codeproject.com is not an alias for codeproject.com, it's a subdomain. I'm sorry, but this again is not entirely true. In fact it is ambiguous. It could be a subdomain of codeproject.com but more likely www is the actual hostname or one of the hostnames as you can create multiple A records for one address (see Domain Name System: 2.2 Understanding the parts of a domain name[^]). Best regards Dennis
-
www. is a subdomain of something.com I still don't get why everyone started using www.something.com anyway. To help the ignorant public remember websites?
This demographic will quite happily click on shiny things however:laugh:
Found on Bash.org [erno] hm. I've lost a machine.. literally _lost_. it responds to ping, it works completely, I just can't figure out where in my apartment it is.
And I was voted a 1 why?
This demographic will quite happily click on shiny things however:laugh:
Found on Bash.org [erno] hm. I've lost a machine.. literally _lost_. it responds to ping, it works completely, I just can't figure out where in my apartment it is.
-
www. is a subdomain of something.com I still don't get why everyone started using www.something.com anyway. To help the ignorant public remember websites?
This demographic will quite happily click on shiny things however:laugh:
Found on Bash.org [erno] hm. I've lost a machine.. literally _lost_. it responds to ping, it works completely, I just can't figure out where in my apartment it is.
I still don't get why everyone started using www.something.com anyway. To help the ignorant public remember websites? The Internet and its addresses predate the web. In "the old days" there would frequently be several independant addresses within a domain that you might be interested in. We might have the ftp server be at ftp.something.com, the gopher server at gopher.something.com, the e-mail server at mail.something.com, and so on. Then there would be any number of individual workstations, probably called frodo.something.com, samwise.something.com, pippin.something.com, etc. (I believe there was an RFC stating that all workstations MUST be named after Lord of the Rings places and characters, preferably hobbits). When the web came along, it was just another service that was to be added to a domain, so www.something.com was born. Now a domain's main function is usually to be a webserver, so the www is redundant. It bugs me when one works but not the other.
-
I still don't get why everyone started using www.something.com anyway. To help the ignorant public remember websites? The Internet and its addresses predate the web. In "the old days" there would frequently be several independant addresses within a domain that you might be interested in. We might have the ftp server be at ftp.something.com, the gopher server at gopher.something.com, the e-mail server at mail.something.com, and so on. Then there would be any number of individual workstations, probably called frodo.something.com, samwise.something.com, pippin.something.com, etc. (I believe there was an RFC stating that all workstations MUST be named after Lord of the Rings places and characters, preferably hobbits). When the web came along, it was just another service that was to be added to a domain, so www.something.com was born. Now a domain's main function is usually to be a webserver, so the www is redundant. It bugs me when one works but not the other.
David Kentley wrote: In "the old days" there would frequently be several independant addresses within a domain that you might be interested in. We might have the ftp server be at ftp.something.com, the gopher server at gopher.something.com, the e-mail server at mail.something.com, and so on. In the old days? I'd say what you just wrote is pretty much up-to-date. Most "real" networks (I'm not talking about shared web hosts at some ISP) still have those ftp.something.tld, mail.something.tld and so on A records (and of course the associated hosts). Often there are even A records for the real hostnames of the machines. David Kentley wrote: Then there would be any number of individual workstations, probably called frodo.something.com, samwise.something.com, pippin.something.com, etc. As I just wrote this is still common practice. David Kentley wrote: I believe there was an RFC stating that all workstations MUST be named after Lord of the Rings places and characters, preferably hobbits <rofl/> One of those 1st of April RFCs perhaps? :cool: Best regards Dennis
-
www. ? ;P Me think that the browser will add the missing elements or the URL when it's trying to resolve the address; or maybe do a quick search and return the first find. for example, in firefox, if you type codeproject, it will take you here.
Maximilien Lincourt Your Head A Splode - Strong Bad
The browser (including IE and Mozilla/Firefox) will add both "www." and ".com" (this can usually be changed through the UI or registry hacks) when neither is present, but not one or the other. This is, of course, default behavior. Plugins/extensions may change such default behavior. This posting is provided "AS IS" with no warranties, and confers no rights. Software Design Engineer Developer Division Sustained Engineering Microsoft [My Articles] [My Blog]
-
www. is a subdomain of something.com I still don't get why everyone started using www.something.com anyway. To help the ignorant public remember websites?
This demographic will quite happily click on shiny things however:laugh:
Found on Bash.org [erno] hm. I've lost a machine.. literally _lost_. it responds to ping, it works completely, I just can't figure out where in my apartment it is.
Actually, "www" is usually a host not a sub-domain. I suppose that some sites' DNS configurations may make it a sub-domain vs. an A or CNAME record, but it is usually a host. This posting is provided "AS IS" with no warranties, and confers no rights. Software Design Engineer Developer Division Sustained Engineering Microsoft [My Articles] [My Blog]
-
www. is a subdomain of something.com I still don't get why everyone started using www.something.com anyway. To help the ignorant public remember websites?
This demographic will quite happily click on shiny things however:laugh:
Found on Bash.org [erno] hm. I've lost a machine.. literally _lost_. it responds to ping, it works completely, I just can't figure out where in my apartment it is.
Steve McLenithan wrote: www. is a subdomain of something.com www.something.com has three parts: www (host name) something (domain name) com (top-level domain)
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow