Self-Hosted Mastodon Instance<!-- --> | <!-- -->Ben Pettis
Ben Pettis

Self-Hosted Mastodon Instance

December 20, 2022

A Photoshopped image of a cartoon mastodon sitting at a set of computer monitors. There is a caption which reads 'I HAVE NO IDEA WHAT I'M DOING'

I first joined Mastodon in mid-2022 when there were initial whispers of Elon Musk wanting to purchase Twitter. I still kept using Twitter, but created an account on to start learning about the platform. After Musk's official takeover, I started using Mastodon much more frequently and by the end of November I wasn't using Twitter at all anymore. Given that I was now pretty committed to participating in the fediverse, I decided to take the plunge and try to self-host my own Mastodon instance on my own server hardware.

Disclaimer: I am posting my writeups as a record of the notes that I took during the process and to provide insight to others what the process looked like for me. I have not written these with the intention of being full tutorials for others to follow. Along those lines, I can't guarantee that my setup is best practice or that it will work for anyone else's environment. But hopefully I can provide some insight and info to others who are just curious, but also to those embarking on their own self-hosting journies.