Hardware: Rasp pi 4 YunoHost version: 11.2.8 I have access to my server : directly via keyboard and screen, and via SSH Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
Description of my issue
hi, I’m new to Yunohost, and have been using dietpi on a raspberry pi zero. I’ve been hosting a few webpages using lighttpd.
I like the idea of more applications, and the interface seems fantastic. I have noticed when playing around with Yunohost on a raspberry pi 4 that several of the applications require a different root directory.
Root
/admin
/Other apps
I’d like to host some tiddlywiki html files, but I also need a directories structure.
Root - index1.html base wiki file
/admin
/Other apps
/Site2 - index2.html site2 wiki file
/Site3 - index3.html site3 wiki file
specifically, what is the best location to store files so that a visitor can access:
Installing an app on the root domain of site1.com, the app will be reachable on that domain and you won’t be able to install another app on that domain but since they are static websites, it’s just a subfolder.
Installing multiple apps on site2.com is doable by defining a path “/site3” “/site4” etc… On that domain.
What’s an app? The yunohost catalog has a large choice of apps that you can use, you can check from the yunohost webadmin > applications > install. They are organised by category.
What do you need to install an app? You need to add a domain in the webadmin, follow the instructions to add the correct dns entries in your registrar dashboard and if your registrar allows the use of an api, check the yunohost documentation for configuring the ddns. Then generate the let’s encrypt certificate.
In your case, you will need to install my_webapp to the domain, enabling sftp and defining the correct php version.
You will have to upload your websites to the www folder of the app while having the site.com/site2 on a subfolder named site2 and so on
Good luck
You should look for help on the forum or the chat to fix the situation, or report the bug on the bugtracker.
The following information might be useful for the person helping you: