17 votes

Why have web pages dropped the www?

I don't know where to put this question, if here or in ~tech, but I chose here due to I want a response for someone who doesn't know all about internet.

So my question is: why there is a trend of removing the www of every web address? why it was standard in the first place and not now?

There are a handful of popular web pages that don't use a triple w in their link and they have replaced it or removed it. Tildes, for example, doesn't need triple w. Why?

13 comments

  1. [11]
    teaearlgraycold
    Link
    It only made sense to have the www when humans tended to interact with domain names in more ways than just through the web. In 2021 a non-technical user may very rarely see an email-related...
    • Exemplary

    It only made sense to have the www when humans tended to interact with domain names in more ways than just through the web. In 2021 a non-technical user may very rarely see an email-related subdomain when setting up an email client. So maybe a pop3.gmail.com or an smtp.something.or.other. Every other domain name you see can be assumed to host a website.

    Back in the day a website at www.stanford.edu would have lived side-by-side with ftp.stanford.edu for file transfers, imap.stanford.edu for email, and maybe many other services. Pretty much everything moved onto the web in the last 20 years so the www became redundant. The internet and the web aren't the same thing, but they're getting closer to identical every day.

    38 votes
    1. nacho
      Link Parent
      This is a great answer. I'd add that redirects and address bars that double as search bars mean that you get to your destination anyway, because of the points mentioned above.

      This is a great answer.

      I'd add that redirects and address bars that double as search bars mean that you get to your destination anyway, because of the points mentioned above.

      13 votes
    2. [7]
      Octofox
      Link Parent
      There is a real reason to keep the www in current_year. You can’t use a cname on your domain and use it for email at the same time without www. This is useful if you want to use a static site host...

      There is a real reason to keep the www in current_year. You can’t use a cname on your domain and use it for email at the same time without www.

      This is useful if you want to use a static site host like GitHub or GitLab. Without the www you either have to not have email or other sub domains, or hard code the IP address and stay alert for changes.

      4 votes
      1. [6]
        Shahriar
        Link Parent
        I always assumed that hosts should typically remain on a static IP address. Have you been in scenarios where your domain is on a dynamic IP?

        I always assumed that hosts should typically remain on a static IP address. Have you been in scenarios where your domain is on a dynamic IP?

        1 vote
        1. [5]
          Octofox
          Link Parent
          The Gitlab Pages IP address changes every few years as they move it between servers. They try to keep it static but if you move cloud providers there isn't any option. It just means your page goes...

          The Gitlab Pages IP address changes every few years as they move it between servers. They try to keep it static but if you move cloud providers there isn't any option. It just means your page goes down until you fix it but if you use a CNAME you will have no issues.

          Issue is if you set a CNAME on the root you can no longer set MX or TXT records on the entire domain and you can not create subdomains.

          2 votes
          1. [4]
            Shahriar
            Link Parent
            This doesn't appear to be an issue to me with CloudFlare as my DNS provider, or I'm not following you correctly.

            Issue is if you set a CNAME on the root you can no longer set MX or TXT records on the entire domain and you can not create subdomains.

            This doesn't appear to be an issue to me with CloudFlare as my DNS provider, or I'm not following you correctly.

            1 vote
            1. [3]
              alphamule
              Link Parent
              I think that's because CloudFlare is doing this: https://blog.cloudflare.com/introducing-cname-flattening-rfc-compliant-cnames-at-a-domains-root/
              6 votes
              1. Octofox
                Link Parent
                Wow, that's such a nice solution to the problem that just works without needing a new spec.

                Wow, that's such a nice solution to the problem that just works without needing a new spec.

                5 votes
              2. Shahriar
                Link Parent
                That definitely would explain it, cheers!

                That definitely would explain it, cheers!

                2 votes
    3. Shahriar
      Link Parent
      Wow, this was the comment that made me realize why www is considered a subdomain when I would read documentation on DNS. Would find it confusing when it would be referred to as subdomain and I...

      Back in the day a website at www.stanford.edu would have lived side-by-side with ftp.stanford.edu for file transfers, imap.stanford.edu for email

      Wow, this was the comment that made me realize why www is considered a subdomain when I would read documentation on DNS. Would find it confusing when it would be referred to as subdomain and I would logically think, "no, that would be a domain like www.abc.standford.edu". That wouldn't work either when I think about it.

      3 votes
    4. [2]
      Comment deleted by author
      Link Parent
      1. Diff
        Link Parent
        Reading their explanation about it that alphamule linked above, they don't need anyone to support it. When someone requests DNS records, if there's a CNAME record for the root domain they'll chase...

        Cloudflare has "CNAME flattening" to solve this; I don't recall off-hand how this works exactly. But it's not very widely supported.

        Reading their explanation about it that alphamule linked above, they don't need anyone to support it. When someone requests DNS records, if there's a CNAME record for the root domain they'll chase it down until it resolves to the final A record and then return that. According to them it works transparently and without issue, it was the old solution (Screw the standards, just let people use CNAMEs with other records on the root domain) that had plenty of edge case issues.

        5 votes
  2. [2]
    umbrae
    Link
    The other comments here are great, one additional thing I wanted to add, though, is that your perception of sites dropping the www may be artificial: many browsers have started to hide it in the...

    The other comments here are great, one additional thing I wanted to add, though, is that your perception of sites dropping the www may be artificial: many browsers have started to hide it in the URL bar even if the www is actually present.

    You can test this with reddit.com actually. On mobile safari for example, it will display in the URL bar as “reddit.com”, however the actual fully qualified domain name being used is “www.reddit.com”, which you can see by tapping on the URL bar. I believe Chrome does this as well.

    10 votes
    1. Ayax28
      Link Parent
      Oh yes I know Chrome has started that bad habit, but I use Firefox exclusively so I don't experience that.

      Oh yes I know Chrome has started that bad habit, but I use Firefox exclusively so I don't experience that.

      2 votes