On Thu, Jan 25, 2018 at 10:58:18AM +0000, Andrew Nesbit wrote: > On 25/01/2018 02:38, bill-auger wrote: > > > in the case of the 'www.' sub-domain in 'http://www.foo.com', that > > clearly identifies the HTTP "World Wide Web" server of foo.com > As a somewhat relevant side issue, what are the rules or conventions > regarding URLs with unadorned directory or file components, like > "http://www.foo.com"? > > After reading up the other day, my understanding is that since a > trailing slash indicates something like a directory resource depending > on context, "http://www.foo.com" should canonically be represented as > "http://www.foo.com/". The web server will resolve this "directory" to > "http://www.foo.com/index.html" or something similar. Do I understand > correctly? > > What are the history and rules regarding this? Is there an RFC or some > other authoritative resource that explains it?
Good starting point with references is here: https://en.wikipedia.org/wiki/Subdomain In general, if the owner of the website does not give you link with "www" such shall not be used and referred, especially if other link is simply working. Don'y you see the link above for Wikipedia, there is no www inside there, but "en" as in "en.wikipedia.org" so each website can have unlimited number of subdomains be it "www" or anything else. It was just matter of habbit in beginning of websites, to use "www.example.com" as hostname for those servers serving over HTTP, but there is no rule to it. Jean
