Every website used to be like “www.example.com”. Now I rarely encounter this “www.”. Why did it even exist and where has it gone? I also used to run into websites with legitimate domains, but “ww1.” instead of “www.”, these were probably phishing sites, but how did this actually work on top of legitimate domains?

  • TubularTittyFrog
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    5
    ·
    2 days ago

    because it used to be necessarily, and it ICANN reformed stuff years ago, so now it’s not. it’s also why you can have all sorts of weird new suffixes you coudln’t before.

    you can look it up on the ICANN history website of web standards.

    • stoy@lemmy.zip
      link
      fedilink
      English
      arrow-up
      9
      ·
      2 days ago

      IT guy here, I can’t believe it was ever technically necessary, though I wouldn’t be surprised if it was a best practice published by ICANN.

      • AskewLord@piefed.social
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        2
        ·
        2 days ago

        browsers didn’t auto-complete it like they do now, so it was necessary for users to type it when manually entering a URL.

        • Dultas
          link
          fedilink
          arrow-up
          8
          ·
          2 days ago

          It was only necessary if the site was configured that way which most typically were. This was to differentiate which server would handle the request, web, file, mail, etc. I’m pretty sure there was no RFC that stated it was a requirement. Even on the early web it wasn’t uncommon to see a www2 or some other numbered prefix for different versions of a site. The reason you see it less now is because like you said browsers will add it, but also because most sites no longer use it as web is typically the assumed default.

        • Rhaedas@fedia.io
          link
          fedilink
          arrow-up
          2
          ·
          2 days ago

          I think before all browsers ended up filling it in, it was standard practice to set up the server to intercept anything missing that part before the domain name and stick a “www” in front so it wouldn’t just dead end. Basically a redirect.