While many browsers now remove the "www" automatically, some still show it, meaning less of the URL can fit on the screen. It uses extra data. Every URL with "www" includes four extra characters including the extra period. Since each character requires one byte or eight bits of data, a URL with "www. It creates confusion. Does your web address require "www" or not? While most web servers redirect to the correct URL, some don't. Just remove "www" and avoid the confusion altogether.
Just because most sites have enabled both ways with www and without www , doesn't mean that they have to. In fact, have you noticed that some websites have something like www1, www2, etc.? As I said - it's just a tradition. It's because the "www. The ones that don't have "www. The part of the URL before the domain name the www. If you don't specify a specific domain resource then the default is used, and normally that's set up to be www , but some network admins won't have set this up for whatever reason and so you must enter the www explicitly to get to that resource.
The history of this is more convoluted. A long time ago, as the Internet grew in popularity, many of the services you know were only growing in popularity.
Most of the users were local, so systems often appeared as what they were named locally. I saw a list circa that showed the most popular hostnames were things like: calvin , hobbes , mac1 , mac2 , etc. You would be amazed how hard it was to convince people this made sense For a long time, DNS-smart-but-lazy administrators tried to serve everything off a server for the top level entry domain.
These days, few administrators are this foolhardy, you need to spread out the load across several systems. From a naming perspective, using the name-of-service-in-the-domainname makes a lot of sense for end users, it is hard to get wrong. This is the responsibility of whoever sets up the web server. In order for both domain names to work, there should be DNS entries for both names usually one is an alias for the other , AND the website should be linked to both names. Why then do many servers require their websites to communicate through the www subdomain?
Mail servers do not require you to send emails to recipient mail. Likewise, web servers should allow access to their pages though the main domain unless a particular subdomain is required. Succinctly, use of the www subdomain is redundant and time consuming to communicate. The internet, media, and society are all better off without it. Those three characters prevented confusion; it was more obvious you meant a web domain.
People understand that Google. This can be too rigid if you encounter availability or performance issues; the A-record is fixed and can take a day or two for changes to propagate. You also need to be cautious of cookie and client-side storage.
A cookie, sessionStorage, or localStorage value set for a non-www domain is shared throughout all sub-domains. If your intended main homepage is www. For those who type www. Without a redirect, search engines will crawl both yoursite. A redirect will tell search engines to ignore one of the sites and to give all of the ranking authority to the intended website. You might also need WWW if you use cookies for your website.
Without WWW. Since this cookie applies to the main domain, it will also apply to whatever subdomains they access as well.
0コメント