News for hackers. Stuff that matters.
Re:Full-Text Search in JavaScript by draker on Sunday October 18, 2015 @08:58AM (#10408103)
Novice question: Is the "www-" just part of the given subdomain or is there something else that occurs using that syntax?

"http://nlp.stanford.edu/IR-book/" resolves to the same resource.

Re:Full-Text Search in JavaScript by quesera on Sunday October 18, 2015 @09:30AM (#10408171)
No magic. "www-nlp" and "www" are explicitly configured to point to the same IP address in the DNS.

Then (in the simplest case) the responding webserver is configured to treat the two hostnames (and possibly others) as identical and serve the same files.

So I guess there is magic. CNAMEs and virtual hosts and HTTP1.1.

Re:Full-Text Search in JavaScript by Sir_Cmpwn on Sunday October 18, 2015 @09:32AM (#10408176)
www-nlp.stanford.edu is a CNAME that points to nlp.stanford.edu. Tip: use the `dig` tool to examine DNS records.