• BrownSugarBits@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    8
    ·
    8 hours ago

    a “site” is just one computer sharing information with another. limited to the hyper text markup language. Why would a computer that is connected by its IP address need a host name to send html to your computer? It wouldn’t.

    • Encrypt-Keeper@lemmy.world
      link
      fedilink
      English
      arrow-up
      13
      ·
      edit-2
      6 hours ago

      A lot has changed since 1999 friend.

      Websites are potentially dozens of virtual computers running on a half dozen physical computers, spread across several regions or countries.

      There are potentially dozens or even hundreds of IP addresses involved with just the one host name, which all of these components rely on to function.

      In a simpler setup, I in one case have a computer with one IP address that hosts 20 different websites. If you send a request to the IP address your request will be dropped because it won’t know which of those 20 websites you’re trying to reach.

      1 website being 1 computer reachable on 1 IP address isn’t something you see very often anymore.

    • Oggyb@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      7 hours ago

      Subdomain.domain.com might point to a different IP address. You might have systems in mission critical deployments that can’t be updated with new IP addresses but will still work if they point to the domain.