• pe1uca
    link
    fedilink
    arrow-up
    4
    ·
    18 days 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.