could somebody write a short HowTo about the use of Domains and Subdomains in Yunohost? I’m using Yunohost on an Raspi only local and have a problem installing one App. The advise was to configure a Subdomain. I than can install the App but I can not start it. I found only a few Informations about Domains and Subdomains in the Forum but no general information.
I have often been bothered with local multi-domains.
The manoeuvre below works for me (I don’t know why!). I disconnect from all Internet connections
I have a local domain already installed and functional: elstir.rtp
yunohost domain add wiki.elstir.rtp
In the webadmin:
I create a user or switch to wiki.elstir.rtp an existing user, I change the password.
And then, miraculously, in the browser
wiki.elstir.rtp sends it back to elstir.rtp with my available applications.
I have no rational explanation, but if it helps you out: -)
I’m running Yunohost only local on an Raspi. IP-Address is given by my Router automatically. I know how to configure a Subdomain (wikijs.yunohost.local) and to install Wiki.js in this Subdomain. Installation works. But I could not reach the Subdomain. I logged in as a user and select Wiki.js which points to wikijs.yunohost.local. The Result is “Server not found”. I think I had to do something else in my local Network. The Solution of anonyme18 did not work for me. Sorry for maybe silly questions. - Thunderfox
There was no use to set a local address for my Raspi, it worked out of the box. I was able to reach my Raspi from every Computer in my local network with “yunohost.local”. Maybe my Router did it (Fritzbox). The whole thing cost me a lot of time (too much!). As there is no howto using subdomains on localhost, I give up.
Yunohost is not really completly made to run as a local server.
There is no easy feature inside YunoHost to create subdomains or domains in “.local”. The only one is the predefined yunohost.local (using bonjour protocol).
But it could be a good idea. I just have create an issue to ask for this feature.
If you want to make it manually, you should watch on avahi files in you /etc , this one is for yunohost.local: