{"id":2894,"date":"2022-11-10T10:33:00","date_gmt":"2022-11-10T08:33:00","guid":{"rendered":"https:\/\/www.bnamed.blog\/en\/?p=2894"},"modified":"2022-11-10T12:19:42","modified_gmt":"2022-11-10T10:19:42","slug":"how-we-set-up-our-own-mastodon-server","status":"publish","type":"post","link":"https:\/\/www.bnamed.blog\/en\/2022\/11\/how-we-set-up-our-own-mastodon-server\/","title":{"rendered":"How we set-up our own Mastodon server"},"content":{"rendered":"\n<figure class=\"is-layout-flex wp-block-gallery-1 wp-block-gallery alignright has-nested-images columns-default is-cropped\">\n<figure class=\"wp-block-image size-large is-style-default\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"1024\" data-id=\"2896\"  src=\"https:\/\/www.bnamed.blog\/en\/wp-content\/uploads\/2022\/11\/Mastodon_logotype_simple_new_hue.svg_-1024x1024.png\" alt=\"\" class=\"wp-image-2896\" srcset=\"https:\/\/www.bnamed.blog\/en\/wp-content\/uploads\/2022\/11\/Mastodon_logotype_simple_new_hue.svg_-1024x1024.png 1024w, https:\/\/www.bnamed.blog\/en\/wp-content\/uploads\/2022\/11\/Mastodon_logotype_simple_new_hue.svg_-300x300.png 300w, https:\/\/www.bnamed.blog\/en\/wp-content\/uploads\/2022\/11\/Mastodon_logotype_simple_new_hue.svg_-150x150.png 150w, https:\/\/www.bnamed.blog\/en\/wp-content\/uploads\/2022\/11\/Mastodon_logotype_simple_new_hue.svg_-768x768.png 768w, https:\/\/www.bnamed.blog\/en\/wp-content\/uploads\/2022\/11\/Mastodon_logotype_simple_new_hue.svg_-1536x1536.png 1536w, https:\/\/www.bnamed.blog\/en\/wp-content\/uploads\/2022\/11\/Mastodon_logotype_simple_new_hue.svg_-370x370.png 370w, https:\/\/www.bnamed.blog\/en\/wp-content\/uploads\/2022\/11\/Mastodon_logotype_simple_new_hue.svg_.png 1920w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/figure>\n\n\n\n<p><a href=\"https:\/\/www.bnamed.blog\/en\/2022\/11\/social-extension-booms-thanks-to-elon-musk\/\" target=\"_blank\" rel=\"noreferrer noopener\">As we reported earlier<\/a>, the takeover by Elon Musk of Twitter clearly was the straw that broke the camel&#8217;s back and eventually caused an exodus of twitter-users towards Mastodon. <\/p>\n\n\n\n<p>Mastodon is very much different from how Twitter works. Contrary to having one centralized system to control everything, Mastodon works via many independent nodes that magically interconnect to each other (just like the internet itself). Everybody can run and control their own Mastodon server.<\/p>\n\n\n\n<p>This means that, just like having an e-mail address under your own domain name, you can also have a mastodon account under your own domain name. <\/p>\n\n\n\n<p>Clearly: <strong>this is what we wanted and we wouldn&#8217;t settle for less! <\/strong><\/p>\n\n\n\n<p>First step: register our own address. We selected a <a href=\"https:\/\/www.bnamed.net\/en\/extensies\/Social\">.social domain name<\/a> because this  points out that it&#8217;s a social media account. And&#8230; hey: there&#8217;s a promo ongoing for the <a href=\"https:\/\/www.bnamed.net\/en\/extensies\/Social\">.social extension<\/a>. But any domain name extension can be used. You can even create a sub-domain under your existing domain name and use that. <\/p>\n\n\n\n<p>We then started looking for an existing provider that would allow us to connect our own domain name to their services. <\/p>\n\n\n\n<p>Apparently it&#8217;s currently not possible to share a Mastodon server. The current version of the server software available, assumes you&#8217;ll have one domain name per server.<\/p>\n\n\n\n<p>So no &#8220;shared hosting&#8221;. A dedicated instance is required if you want to use your own domain. <a rel=\"noreferrer noopener\" href=\"https:\/\/docs.joinmastodon.org\/user\/run-your-own\/\" target=\"_blank\">This is an existing business model already offered by a couple of providers<\/a>. Because we were looking for a solution at the peak of the exodus, some of the providers however were closed for new subscriptions. The remaining providers were, according to our feeling, either too expensive or didn&#8217;t offer the control we hoped to have. <\/p>\n\n\n\n<p>This made us eager to get our hands dirty and actually run our own instance. <a rel=\"noreferrer noopener\" href=\"https:\/\/docs.joinmastodon.org\/admin\/prerequisites\/\" target=\"_blank\">Joinmastodon.org has a nice overview of what is needed for this<\/a>. But quickly we noticed almost every singly software used by Mastodon turned out to be a competing solution compared to what we were comfortable to work with. Maybe we didn&#8217;t want our hands to get this dirty after all.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignleft size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"200\" height=\"200\" src=\"https:\/\/www.bnamed.blog\/en\/wp-content\/uploads\/2022\/11\/cloudron-logo-vertical-title-e1668066794507.png\" alt=\"\" class=\"wp-image-2900\" srcset=\"https:\/\/www.bnamed.blog\/en\/wp-content\/uploads\/2022\/11\/cloudron-logo-vertical-title-e1668066794507.png 200w, https:\/\/www.bnamed.blog\/en\/wp-content\/uploads\/2022\/11\/cloudron-logo-vertical-title-e1668066794507-150x150.png 150w\" sizes=\"(max-width: 200px) 100vw, 200px\" \/><\/figure><\/div>\n\n\n<p>Eventually we came about the possibility of <a rel=\"noreferrer noopener\" href=\"https:\/\/www.cloudron.io\/store\/org.joinmastodon.cloudronapp.html\" target=\"_blank\">installing Mastodon through Cloudron<\/a>. So let&#8217;s dig in!<\/p>\n\n\n\n<p>We rented a cheap Ubuntu 20.04 machine. Not the Linux distribution we&#8217;re used to work with, but we&#8217;re reasonably comfortable with it and eventually Cloudron will manage this for us. <br>Installing Cloudron is just three lines of code<br><\/p>\n\n\n\n<p class=\"has-white-color has-black-background-color has-text-color has-background\">wget https:\/\/cloudron.io\/cloudron-setup<br>chmod +x .\/cloudron-setup<br>.\/cloudron-setup<\/p>\n\n\n\n<p>The installation will take some time. Once you have Cloudron on your server, Mastodon is just one click (and some more patience) away. <\/p>\n\n\n\n<p>We&#8217;re now all ready and set with our own branded Mastodon account. So let&#8217;s meet at <a rel=\"noreferrer noopener\" href=\"https:\/\/bnamed.social\/@bnamed\" target=\"_blank\">https:\/\/bnamed.social\/@bnamed<\/a>!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As we reported earlier, the takeover by Elon Musk of Twitter clearly was the straw that broke the camel&#8217;s back and eventually caused an exodus of twitter-users towards Mastodon. Mastodon is very much different from how Twitter works. Contrary to having one centralized system to control everything, Mastodon works via many independent nodes that magically [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2912,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[5],"tags":[],"_links":{"self":[{"href":"https:\/\/www.bnamed.blog\/en\/wp-json\/wp\/v2\/posts\/2894"}],"collection":[{"href":"https:\/\/www.bnamed.blog\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bnamed.blog\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bnamed.blog\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bnamed.blog\/en\/wp-json\/wp\/v2\/comments?post=2894"}],"version-history":[{"count":6,"href":"https:\/\/www.bnamed.blog\/en\/wp-json\/wp\/v2\/posts\/2894\/revisions"}],"predecessor-version":[{"id":2918,"href":"https:\/\/www.bnamed.blog\/en\/wp-json\/wp\/v2\/posts\/2894\/revisions\/2918"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.bnamed.blog\/en\/wp-json\/wp\/v2\/media\/2912"}],"wp:attachment":[{"href":"https:\/\/www.bnamed.blog\/en\/wp-json\/wp\/v2\/media?parent=2894"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bnamed.blog\/en\/wp-json\/wp\/v2\/categories?post=2894"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bnamed.blog\/en\/wp-json\/wp\/v2\/tags?post=2894"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}