General Understanding Help

Hi,

I have a running instance of YH on bare metal celeron minipc, configured my domain DNS on cloudflare, and can access the OurCloud app using website name. That was the only app I installed. The management GUI is available and working locally on the inside the router subnet. I have a number of diagnostics that need to be resolved (ipv6 not working, reverse proxy for email, missing or inacurate dns records).

I would like to operate a website (mostly static), an email server, and a MQTT broker on the same instance.

What I am missing is the concepts that I need to understand:

a. I assume that (one instance of) nginx can run multiple websites, I think I need to RTFM so I know where to put the files, what configs need to be edited, and if multiple website configurations are in the same config file, how do I keep it sane, or is there a nginx config for each website. So guidance for the 10km view as well as the nittygritty would be a blessing.
b. wrt email server: Does YH have one as built? How do I configure, keep email stores separated and backed up, can I handle pop3 or is that dated? Can I have one email server that servers multiple domains? Again, guidance would be great. Of course if there is a prebuilt image for this use case where is it?
c. MQTT broker…have not even formulated questions yet. Not urgent.

Hardware is GMKTec N100 8GB RAM 256GB Nvme SSD running headless.

Thanks, /Rob

You’re probably interested in the my_webapp app

Yes, nginx/yunohost can run multiple domains/subdomains and multiple apps per domain/subdomain (cf this discussion in the doc)

BUT the point of Yunohost is that you shouldn’t have to handle all that conf. In fact, in an ideal world, people shouldnt even need to know what “nginx” is nor use the command line at all (think of YunoHost like the Linux Mint for servers…). If you end up needing to edit/debug stuff manually, then it should be considered either a bug or an use case which is too advanced or out of scope of YunoHost

Mail is built-in, cf YunoHost’s list of features )… though that page ain’t up to date, for example XMPP aint in the core anymore) and general considerations about email in yunohost

Pop3 is not enabled by default, there’s a setting in the webadmin > Tools > YunoHost settings > Email

Not sure what you mean by “keep email stores separate”.

Emails are part of what’s backedup by YunoHost’s backup system (basically it backsup /var/mail iirc)

Emails can be used for multiple domain/subdomains

Ofc to have email working as smooth as possible, you need to check the warning/errors reported by the diagnosis

Mosquitto is in the catalog if that’s the kind of stuff you’re after

Thanks @Aleks,

Under Domains, mydomain.tld, DNS tab, the experimental api Cloudflare dns interface is giving me the error: Failed to authenticate on registrar’s API. Most probably the [credentials(local subnet http address)] are incorrect? (Error: 400 Client Error: Bad Request for url: (https://api.cloudflare.com/client/v4/zones/mydomainzoneid)

I can take that url, successfully use it to curl (url) -H “Authorization: Bearer mydomaintokenstring” and it returns the expected details ending with
“success”:true,
“errors”:,“messages”:}

The credentials in the error message are a link that opens a local page that has no data.
https://192.168.40.111/yunohost/admin/#/domains/mydomain.tld/config, probably because there is no config file there.

Does any of this make sense?

With kind regards,
Rob