www is not necessary but must be accounted for by the server handling the page. www, of course, stands for World Wide Web which, iirc, helped distinguish itself from the rest of the internet before www came to be.
The way the 'net works is up a tree. iow, when you send a request for a page from your browser, it sends the request for a certain page to the next server up the line. So a request for "mypage" from www.thescripts. com/mypage gets sent to your ISP which might (or might not) be a DNS resolver (Domain Name Server). It figures out the page you request is part of the .com domain. From there it looks up all the names in the .com domain until it finds ".thescript s". Notice the "dot".
It then sends the request to whatever IP address ".the scripts" is at. That server then decides where to send it. In this case, the next name up the line is "www" but no dot. Dot is always the top parent of the internet. If "thescripts " had a server called "www", or if "thescripts " responds to "www", then you will get the page. If their server is set to ignore the www, then you won't.
Some DNS servers will also resolve the differences between the two.
I used to know this whole detail better than that so I may have missed something or be slightly off but it's the general idea.
www is not necessary but must be accounted for by the server handling the page. www, of course, stands for World Wide Web which, iirc, helped distinguish itself from the rest of the internet before www came to be.
The way the 'net works is up a tree. iow, when you send a request for a page from your browser, it sends the request for a certain page to the next server up the line. So a request for "mypage" from www.thescripts. com/mypage gets sent to your ISP which might (or might not) be a DNS resolver (Domain Name Server). It figures out the page you request is part of the .com domain. From there it looks up all the names in the .com domain until it finds ".thescript s". Notice the "dot".
It then sends the request to whatever IP address ".the scripts" is at. That server then decides where to send it. In this case, the next name up the line is "www" but no dot. Dot is always the top parent of the internet. If "thescripts " had a server called "www", or if "thescripts " responds to "www", then you will get the page. If their server is set to ignore the www, then you won't.
Some DNS servers will also resolve the differences between the two.
I used to know this whole detail better than that so I may have missed something or be slightly off but it's the general idea.
Comment