RetroFed Forum
Your home away from modern life.
Local Mastodon Instance
Post Reply
AuthorMessage
voster99 thelemmy.club voster99@thelemmy.club
Joined: 2026-09-28
Quote

Hi everyone! I’m looking to run a Mastodon instance on a home server, entirely within LAN, without owning a domain. It does not need to interact with other Mastodon instances, but users on the local server should still be able to follow accounts on other Mastodon servers. Local users should also be able to create posts and see each other’s posts on the local instance. I’d appreciate advice from anyone running Mastodon this way at home. Thanks!

25   Original
ohshit604 lemmy.halstead.host ohshit604@lemmy.halstead.host
Joined: 2026-07-18
#2 · (edited) Quote Reply

Hi everyone! I’m looking to run a Mastodon instance on a home server, entirely within LAN, without owning a domain

Without a domain you cannot federate with other instances, otherwise how would they know what to call you.

It does not need to interact with other Mastodon instances,

but users on the local server should still be able to follow accounts on other Mastodon servers. Local users should also be able to create posts and see each other’s posts on the local instance.

These two statements contradict each other, you can’t receive content and not send it at the same time, your instance will ideally try to stay in sync with all the other instances, posts and comments included.


Nonetheless when it comes to self hosting (and well literally anything you create) follow the documentation and it will always point you in the right direction.

8
hperrin lemmy.ca hperrin@lemmy.ca
Joined: 2024-12-13
#3 · Quote Reply

This is not possible. The other servers need to be able to communicate with yours, and for that, yours needs a domain name.

If you only care about local users following other local users, and only other local users, then this is possible. But if you add remote users into the mix, you need to federate, and to federate requires a domain name.

27
tal lemmy.today tal@lemmy.today
Joined: 2023-10-04
#4 · Quote Reply

I don't use Mastodon, but I don't know if it's possible to do this particular combination:

without owning a domain

users on the local server should still be able to follow accounts on other Mastodon servers

Like, a client that supports having accounts on multiple Mastodon servers would work. Then they have a local account, and they have an unrelated account elsewhere on another Mastodon server and follow people using that, so that the "following" has nothing to do with your local server.

But if you want federated behavior, where a user connects to your server and has their account there tell the local Mastodon server to pull down posts from another users somewhere out on another Mastodon server, you might need to have a certificate on your server that other servers recognize as valid, which in practice would mean one signed by a public CA.

I don't know for certain whether this is actually necessary, but I could believe that it is.

3
ViatorOmnium piefed.social ViatorOmnium@piefed.social
Joined: 2025-06-11
#5 · Quote Reply

I don't use Mastodon, but I don't know if it's possible to do this particular combination: without owning a domain users on the local server should still be able to follow accounts on other Mastodon servers Like, a client that supports having accounts on multiple Mastodon servers would work. Then they have a local account, and they have an unrelated account elsewhere on another Mastodon server ...

If you go really out of the beaten path, a client that only reads from other instances could use the RSS feed to go around the signed requests.

4
artyom piefed.social artyom@piefed.social
Joined: 2025-06-08
#6 · Quote Reply

entirely within LAN

Wat? LOL

-4
Zak lemmy.world Zak@lemmy.world
Joined: 2023-06-11
#7 · Quote Reply

ActivityPub doesn't work that way, but you can follow public Mastodon accounts using RSS.

6
Die4Ever retrolemmy.com Die4Ever@retrolemmy.com
Joined: 2024-05-06
#8 · Quote Reply

You can use a subdomain, and I'm pretty sure you can get a subdomain for free. It won't be pretty but it will do what you want.

10
ahmedezat_katteb lemmy.world ahmedezat_katteb@lemmy.world
Joined: 2026-10-01
#9 · Quote Reply

Adding to why it has to be reachable: when a local user follows someone on another server, that server pushes new posts to your server's inbox, so the remote side has to be able to resolve your domain and connect over HTTPS. A LAN-only box can't receive that.

The least painful compromise is a cheap domain (or a subdomain you control) plus a tunnel or a small VPS acting as reverse proxy, so nothing on your home network is exposed directly. Then close signups so only your household can register. If Mastodon feels heavy for a handful of users, GoToSocial is much lighter on RAM for that use case, though you'd use a separate client app with it.

One thing to decide up front: the domain is baked into every account and can't be changed later without starting over.

12
FrugalBlue discuss.online FrugalBlue@discuss.online
Joined: 2023-09-02
#10 · Quote Reply

You can use a subdomain, and I'm pretty sure you can get a subdomain for free. It won't be pretty but it will do what you want.

duckdns.org (free subdomain provider) for the win!

10
Buck jlai.lu Buck@jlai.lu
Joined: 2025-03-28
#11 · (edited) Quote Reply

Look into snac2 or littlefedi as alternatives for Mastodon if you want to save resources. Littlefedi has a specific use case to run off the grid

4
Leon pawb.social Dojan@pawb.social
Joined: 2025-03-20
#12 · Quote Reply

Have a look at GoToSocial.

2
yuman programming.dev yuman@programming.dev
Joined: 2026-04-27
#13 · (edited) Quote Reply

littlefedi is out as of coupla days ago. still in early stage but should cover your use case. local binary, world comms via "lighthouses" don't need domain, vps, etc. there's something strange afoot wrt the author's willingness to be forthcoming about the project's provenance. I'd stay clear for the time being.

8
vpzom dev.narwhal.city vpzom@dev.narwhal.city
Joined: 2026-03-08
#14 · Quote Reply

It does not need to interact with other Mastodon instances, but users on the local server should still be able to follow accounts on other Mastodon servers.

This sentence is in conflict with itself, follows are "interaction"

13
Colloidal programming.dev Colloidal@programming.dev
Joined: 2025-02-26
#15 · Quote Reply

littlefedi is out as of coupla days ago. still in early stage but should cover your use case. local binary, world comms via "lighthouses" don't need domain, vps, etc. there's something strange afoot wrt the author's willingness to be forthcoming about the project's provenance. I'd stay clear for the time being.

GoToSocial is stable and famously light on server resources.

4
James R Kirk startrek.website Kirk@startrek.website
Joined: 2025-03-01
#16 · Quote Reply

It does not need to interact with other Mastodon instances, but users on the local server should still be able to follow accounts on other Mastodon servers. This sentence is in conflict with itself, follows are "interaction"

If you're just following you can use an RSS reader

4
Post Reply
Back to top