• Lost_My_Mind@piefed.socialOP
      link
      fedilink
      arrow-up
      13
      arrow-down
      2
      ·
      4 months ago

      So Social is the domain, and Mastodon/Piefed are the instances in my example?

      If that’s the case, why not make everything (instance).com?

      • ImplyingImplications@lemmy.ca
        link
        fedilink
        arrow-up
        38
        ·
        4 months ago

        why not make everything (instance).com?

        The cost of a (word).com domain can be tens of thousands of dollars if nobody owns it to millions of dollars if someone does. The cost of a (word).social domain is like $10.

        • Chozo@fedia.io
          link
          fedilink
          arrow-up
          18
          ·
          4 months ago

          Yup, this is why most Fediverse platforms are hosted on domains with TLDs that seem unusual (.social, .io, .ml, .xyz, .land, etc). Since most of these projects are funded by donations (if funded, at all), the domain is an excellent place to cut costs on a project like this.

      • Deceptichum@quokk.au
        link
        fedilink
        English
        arrow-up
        22
        ·
        4 months ago

        The last few letters are called a TLD, they show what type of site it is, .com-mercial, .org-anisation, .net-work, etc.

        The actual site/instance is the part before it.

      • braindefragger@lemmy.world
        link
        fedilink
        arrow-up
        11
        arrow-down
        1
        ·
        4 months ago

        Mastodon.social is the address to that specific Mastodon instance. Take a look at this site for more info.

        why not make everything (instance).com?

        I’m not exactly sure what you mean by that? Are you suggesting everyone to use a ().com? If so, because they are rarely available and if they are, quite expensive.

      • Otter@lemmy.ca
        link
        fedilink
        English
        arrow-up
        6
        ·
        4 months ago

        We have our instance on .ca for example, since we’re a Canadian instance. Other instances might use .eu being in the EU, or .fr for France

        Some instances pick the TLD (.com, .ca, .org, etc.) to have a fun name. For example, https://sh.itjust.works

      • fine_sandy_bottom@lemmy.federate.cc
        link
        fedilink
        arrow-up
        3
        ·
        4 months ago

        Not really.

        Both mastodon.social and piefed.social are domain names that point to instances.

        The last part of the domain name after the dot like .com or .social doesn’t really mean anything.

      • Trainguyrom@reddthat.com
        link
        fedilink
        English
        arrow-up
        2
        ·
        4 months ago

        Because using .com for everything is boring, especially when you can use TLDs like .ninja .dad .rocks or .party

        The real reason is we will run out of useful .com domains sooner or later, so adding more TLDs means more people can affordably rent a domain

      • xigoi@lemmy.sdf.org
        link
        fedilink
        English
        arrow-up
        3
        arrow-down
        1
        ·
        4 months ago

        .com is for commercial sites (though many sites misuse it). Most Mastodon instances are not commercial.

    • Ziggurat@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      12
      arrow-down
      2
      ·
      4 months ago

      We need some Lemmy gold, because tht comment desserve it

      @aihorde@lemmy.dbzer0.com draw for me A small statue of Lemming made in gold, inspired by award given at ceremonies

    • DebatableRaccoon@lemmy.ca
      link
      fedilink
      arrow-up
      4
      ·
      edit-2
      4 months ago

      The devout Christians currently going through a crisis on whether to go with “Jesus is in all of us, thus yes” or “Our boy J don’t want none o’ that nastiness”.

  • ccunning@lemmy.world
    link
    fedilink
    arrow-up
    53
    ·
    4 months ago

    No. .social is a Top Level Domain(TLD) just like .com, .org, or .net

    They’re no more connected than Facebook.com and Apple.com are.

    Now, they could be run by the same folks; I have no idea on that front, but you can’t tell simply by the TLD

    • Lets_Eat_Grandma@lemm.ee
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      11
      ·
      4 months ago

      Oh god… let’s not get into the nuance of web hosting. Soon you’ll have to explain dns or what a reverse proxy is… or heaven forbid how certificates work to secure it all.

  • RightHandOfIkaros@lemmy.world
    link
    fedilink
    English
    arrow-up
    27
    arrow-down
    3
    ·
    4 months ago

    If I have a house in Orange County, California, and another house in Orange County, Florida, do I technically only have one house since they’re both in Orange County?

      • xavier666@lemm.ee
        link
        fedilink
        English
        arrow-up
        2
        ·
        4 months ago

        Bro is testing the limits of the community name.

        /jk it’s better to have a stupid question than no question at all

      • RightHandOfIkaros@lemmy.world
        link
        fedilink
        English
        arrow-up
        5
        ·
        4 months ago

        I mean, it communicates the same point. The two are unrelated even though they have the same county name, just like websites share the same TLD and are completely unrelated to each other.

    • BigMikeInAustin@lemmy.world
      link
      fedilink
      English
      arrow-up
      15
      arrow-down
      11
      ·
      4 months ago

      I’m sorry about your confusion. Please start another thread, though, so people can focus on answering OP.

      • RightHandOfIkaros@lemmy.world
        link
        fedilink
        English
        arrow-up
        7
        ·
        4 months ago

        Surely you could see that my response was a rhetorical question in an answer to reflect upon the absurdity of the OPs question.

        • BigMikeInAustin@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          arrow-down
          2
          ·
          4 months ago

          No. I see you making fun of someone for asking a question. They are trying to apply some of their knowledge to something new. What they have learned from some other good answers is useful going forward.

          Sadly, it seems you need to learn more to be able to understand where this person is coming from.

  • Swedneck@discuss.tchncs.de
    link
    fedilink
    arrow-up
    5
    ·
    4 months ago

    to a layman it’s probably best to just… not really think too deeply about this, there is layer upon layer of possible nuance and yet at the same time 99% of the time it’s as simple as “if the ‘thing.otherthing’ isn’t identical then they have absolutely nothing to do with each other”.

    To really understand what’s going on you’ll need to dive into how computer networking functions and a bunch of other things, which i do highly encourage since it’s good to know, but the important thing here is that you’re talking about domain names, which i’m not going to try to explain further but rather recommend you look up on wikipedia and other places to learn more about.

  • pe1uca
    link
    fedilink
    arrow-up
    4
    ·
    4 months ago

    Think of a URL and its dots like folders in your drive where each can have different files in each of them even if they have the same name as another folder.
    They’re just written in reverse order.
    (Also a whole lot of other differences and other technical details on how to actually make the site work, but for your question we can just keep at this)

    So, you have the social root folder (Top Level Domain) which contains many sub folders, one of them is mastodon and another is piefed.
    Each have their own files to render their UI and process the requests they receive, but they don’t talk to each other, even when they might have some files and requests with the same name.
    The same way you have in your home folder your documents, pictures, videos, downloads, etc.
    And yeah, they can go even deeper, my lemmy instance is lemmy.pe1uca.dev, not just lemmy.world like for this community.
    I could have mastodon.pe1uca.dev if I’d like.

  • netvor@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    4 months ago

    When it comes to identifying the server, hostname the first thing that counts. lemmy.world or mastodon.social or google.com are three different hostnames. At this point you can basically treat the period as no special character, it’s just part of the funny world. This basically answers your question: those are two different domains, ie. for all purposes, different instances.

    However, your computer does not really connect to hostname but to IP address, so the next important thing is to translate the hostname to an IP address.

    Aside: a valid hostname does not even have to have period in it. For example, localhost is a valid hostname! But generally hostnames without periods don’t get translated to any useful IP addresses. localhost is probably the only one widely used hostname but your OS will translate it to a special IP address which marks your own device.)

    So to translate the hostname to IP address is done using so-called DNS. So before you can connect, your computer already knows an IP address of a DNS server, and asks it to translate the hostname to IP address. Technically, this is still not where the period is strictly important.

    Where the period does start to be meaningful is when you think about: so we have billions of IP addresses, billions of hostnames, how do we organize it all? Who is going to maintain the huge massive list?

    So it works like this: There are dozens of organizations, each of which is assigned one or more “top level domains” (TLD). Then they are responsible for maintaining lists of all hostnames ending with those domains. Many of these organizations are local to certain states. For example, in Czech Republic, where I live, we have organization called CZ.NIC which maintains all domains ending with .cz. So it’s up to CZ.NIC how it manages permissions and gives out the domains. In this case, basically anyone can register any free domain ending with .cz, and what this registration means is that now they can get a server with an IP address, run whatever they want and have the registered domain name point to that IP address.

    Note that other organizations may decide to add additional rules. For example .uk domains are managed with extra rules, where non-government (commercial) entities are normally allowed to register only .co.uk and other .uk names are not handed out easily. I don’t actually know the details about .uk but my point is that if you are going to think about a hostname and how to begin to understand who owns it, first thing that matters is the TLD, and from that point the rules might be slightly different. To be fair, I haven’t seen much variance between this; almost all public TLD’s I’ve seen were either “simple”, meaning myname.tld or this thing that UK does (also New Zealand, from the top of my head).

    One almost universal rule is, though, that if I, say, register seznam.cz with CZ.NIC, then I automatically get not only seznam.cz but also any address I can possibly come up which ends with .seznam.cz. foo.seznam.cz, bar.seznam.cz, www.seznam.cz, I can now start organizing my servers using this whole infinite space, with any number of extra periods. I could totally start a business and start promoting my server foo.bar.baz.whatever.cz on billboards, as long as CZ.NIC grants me whatever.cz.

    So back to your question: mastodon.social and piefed.social are two completely different domains. All we know that they have in common is that whoever registered them, had to deal with the same organization; that is whoever maintains .social.

    So TL;DR: there’s really nothing that suggests that they would be the same instance.