How to host your own Fediverse instance?: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 13: Line 13:
== 2. Get a Domain ==
== 2. Get a Domain ==


Next you'll need a domain. The domain is the url where your website, in this case your Fediverse instance, can be found. So something like `https://mydomain.org/` <br>
Next you'll need a domain. The domain is the url where your website, in this case your Fediverse instance, can be found. So something like <code>https://mydomain.org/</code> <br>


For this guide I'll use [https://my.contabo.com/ contabe.com] to get a domain, but you can use other sites as well. Maybe some things will be a little different than explained in this guide then, but some domains may be cheaper on other sites.
For this guide I'll use [https://my.contabo.com/ contabe.com] to get a domain, but you can use other sites as well. Maybe some things will be a little different than explained in this guide then, but some domains may be cheaper on other sites.
Line 33: Line 33:


You're now in the console of the server. This may look scary, but we'll guide you through it. <br>
You're now in the console of the server. This may look scary, but we'll guide you through it. <br>
First you'll be asked for your login credentials. Enter `root` and hit enter.<br>
First you'll be asked for your login credentials. Enter <code>root</code> and hit enter.<br>
Now you'll be asked for the password. Unfortunately you can't just copy-paste it, so you'll have to enter it manually. Nothing will appear when you enter the password, but once you hit enter you should be logged in.<br>
Now you'll be asked for the password. Unfortunately you can't just copy-paste it, so you'll have to enter it manually. Nothing will appear when you enter the password, but once you hit enter you should be logged in.<br>
Next you'll be asked to change the password. Unfortunately you'll have to enter the old password once more but then you can enter the new password - also twice. Choose a password that you don't use all the time but that you can remember. It's best to generate and store your password in a password safe like KeePass.
Next you'll be asked to change the password. Unfortunately you'll have to enter the old password once more but then you can enter the new password - also twice. Choose a password that you don't use all the time but that you can remember. It's best to generate and store your password in a password safe like KeePass.


Enter `curl https://install.yunohost.org | bash` in the console. Now YunoHost will be installed you'll be asked once to confirm. Just select Yes with your arrow keys and hit enter. <br>
Enter <code>curl https://install.yunohost.org | bash</code> in the console. Now YunoHost will be installed you'll be asked once to confirm. Just select Yes with your arrow keys and hit enter. <br>
You'll know when YunoHost is finished installing when you can write again. <br>
You'll know when YunoHost is finished installing when you can write again. <br>
Now close the console.
Now close the console.
Line 75: Line 75:


You can repeat the whole guide to install another app under another domain or you can use the following steps to install another app under a sub domain of your current domain. <br>
You can repeat the whole guide to install another app under another domain or you can use the following steps to install another app under a sub domain of your current domain. <br>
In your YunoHost site go to "Domains", "+ Add domain", select "I already have a domain name… " and enter a sub domain of your domain. E.g. if you want to install mastodon you could name the sub-domain "mastodon", so you would enter `mastodon.mydomain.org`. Then click "Add". <br>
In your YunoHost site go to "Domains", "+ Add domain", select "I already have a domain name… " and enter a sub domain of your domain. E.g. if you want to install mastodon you could name the sub-domain "mastodon", so you would enter <code>mastodon.mydomain.org</code>. Then click "Add". <br>
Now run diagnosis again and enter the needed DNS zones in your Contabo control panel. <br>
Now run diagnosis again and enter the needed DNS zones in your Contabo control panel. <br>
Now go to "Applications" and install another app. Make sure you choose the newly created sub-domain to install the app to.
Now go to "Applications" and install another app. Make sure you choose the newly created sub-domain to install the app to.


[[Category:Advanced]]
[[Category:Advanced]]