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?

  • marcos
    link
    fedilink
    arrow-up
    2
    arrow-down
    11
    ·
    1 day ago

    That “www” is the name of the computer. It used to be that people liked to have a different computer just doing web stuff.

    Nowadays you don’t need to put the computer name on the address to send the web connections to it. But also, almost everybody hacks their network so that any computer can answer to any name they want. So people normalized not naming an specific computer to answer.

    • SpaceCowboy@lemmy.ca
      link
      fedilink
      arrow-up
      4
      ·
      1 day ago

      Well it’s a subdomain. You could have www.example.com and ftp.example.com go to the same computer, or you could have a load balancer direct www to multiple computers. But it’s helpful for keeping stuff organized in your configuration to give them different names based on what kind of content and/or protocol they’re serving out.

      Google does a pretty good job at this where it’s mail.google.com for gmail, www.google.com for their search, and if you’re logging into any google account, it’s something like accounts.google.com. That way you know which company you’re exchanging information with from the domain name, and the subdomain tells you which service you’re using. Helpful if you want to make sure it’s not a phishing site.

      • False
        link
        fedilink
        arrow-up
        1
        ·
        22 hours ago

        Load balancers were uncommon in the 90s fwiw