How to setup mastodon on your own domain; Muppet Edition
1) Get domain
- Pay in bitcoin: https://njal.la
2) Get VPS
- Pay in bitcoin: https://bitlaunch.bitcoinenemies.com
3) Install Yunohost
- https://yunohost.org/#/install_on_vps
4) Configure DNS records on your domain
- https://yunohost.org/#/dns_config
5) Post install from Yunohost GUI
- Add domain and auto-generate LetsEncrypt SSL cert
6) Install Mastodon from Yunohost GUI
- repo reference: https://github.com/YunoHost-Apps/mastodon_ynh
3) restart services
4) Install Mastodon from Yunohost GUI to new subdomain.
https://birdstate.bitcoinenemies.com is running on a $10/mo VPS at Bitlaunch.
Questions? Ask away.
More about Yunohost:
Works on almost everything including pis:
https://yunohost.org/#/install
Includes one click installs for a ton of great open source apps like bitwarden, nextcloud, gitlab, and many more.
You don't even need a domain or a fixed IP. Built for self hosters at home.
re: How to setup mastodon on your own domain; Muppet Edition
re: How to setup mastodon on your own domain; Muppet Edition
@k3tan yeah, Yunohost is the way to go I think. Easier then a digitalocean 1 click install.
Also then can add many other services if you like.
eg: bitwarden, nextcloud, gitlab, matrix, jitsi etc
re: How to setup mastodon on your own domain; Muppet Edition
stupid accordion lol woops
@k3tan bitlaunch for sure is way lighter. njalla provides vps as well though I haven't tried them for hosting yet.
yunohost can also be installed locally on pi or a ton of other stuff as well. Doesn't need a vps.
Its been designed for self hosters at home so it has remedies for people without domains or dealing with dynamic dns machines.
@timeerr @k3tan I guess it depends how you go about it. When dealing with yunohost at home I use hidden services: https://yunohost.org/torhiddenservice#/
No network bullshit and you can proxy back to clearnet and still use your domain.
@nme thanks for the resources. I guess we can make instances like we have shitcoins. 🤣
@hanakookie @nme
the more nodes mastodon has the more decentralized it becomes. This increases the censorship resistant of the entire mastodon network
we are not trying to copy mastodon and run competitor to it, instead we are adding nodes and increasing the network effect
@Bram you can move your account over
https://bitcoinhackers.org/@stephanlivera/105555934137285479
@nme Thanks!
How to setup mastodon on your own domain; Muppet Edition
@nme Hi nme, I got through your steps and am close to having my instance. Question: does the $10 bitlaunch server have a problem with port 25? I was not sure how to deal with that. dont think its a problem with mastodon but it would be nice to have mail available for other yunohost apps thanks!
@bimmer lots of VPS hosts block access to port 25 to prevent their machines for being used for email spam.
Email is tricky. I'd probably recommend using an SMTP mailer service like sparkpost or something.
@nme thanks for the info. Just got this DM when i turned off redirect. I migrated my account and got cutoff from bitcoinhackers.
How to setup mastodon on your own domain; Muppet Edition
How to setup mastodon on your own domain; Muppet Edition
@nme bitvps.com is also decent too
OPTIONAL How to install Mastodon on a subdomain and point it at the root
You may want to install Mastodon on a subdomain so you can serve other services at root.
The subdomain can be removed from your handle (see our instance).
1) Prior to step 6 in the previous:
- Add a subdomain to Yunohost that will serve Mastodon
- Auto generate a LetsEncrypt certificate. Depending on DNS host, you may need to add more records to your zone.
2) Configure Yunohost Nginx:
https://masto.host/mastodon-usernames-different-from-the-domain-used-for-installation/