• taladar@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    141
    arrow-down
    2
    ·
    24 hours ago

    Originally the idea was that you would have a domain and then have a host under that domain for each service (e.g. mail.example.net, ftp.example.net, www.example.net,…). Of course eventually the web was used by a lot more people this directly than any other service so the main domain was also configured to point at the web server and then people added a redirect either in one direction (add www.) or the other (remove www.) on the first request.

    • ricecake@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      60
      ·
      23 hours ago

      The final piece is that often each of those services would be on a different computer entirely, each with a different public IP address. Otherwise the port is sufficient to sperate most services on a common domain.

      There was a good long while where IP addresses were still unutilized enough that there was no reason to even try being conservative.

      • taladar@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        28
        arrow-down
        1
        ·
        23 hours ago

        Originally there also wasn’t any name-based virtual hosting, especially in SSL/TLS-based services like HTTPS so you needed one IP per name if you wanted to host multiple websites.

        And part of the disappearance of www. now is probably that strange decision by Chrome to hide it.

        • ricecake@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          16
          ·
          19 hours ago

          Chromes decision actually makes a lot of sense, from a security perspective. When we model how people read URLs, they tend to be “lazy” and accept two URLs as equal if they’re similar enough. Removing or taking focus away from less critical parts makes users focus more on the part that matters and helps reduce phishing. It’s easier to miss problems with https://www.bankotamerica.com/login_new/existing/login_portal.asp?etc=etc&etc=etc than it is with bankotamerica, with the com in a subdued grey and the path and subdomain hidden until you click in the address bar.
          It’s the same reason why they ended up moving away from the lock icon. Certs are easy to get now, and every piece that matches makes it more likely for a user to skip a warning sign.