I have a mailinabox+nextcloud server on my droplet hosted at example1.com and I want to use the same droplet to host a seperate nextcloud + other selfhosted tools instance at example2.com.
How would I go about doing ...
You'll need to install NextCloud in different directories or subdomains. Basically you'll need a different DocumentRoot for both applications.
Additionally, each instance will need it's own Database.