Read your links and this is a super advanced and totally unsupported setup. You’ll want to ask for more info at Single codebase for multiple vhosts - #8 by markc
@punkyard Not to confuse you, but the method I know of for managing multiple Nextclouds is to use VM or Docker containers. Each would be separate for sanity and easy management.
One Server with docker or similar
ContainerA to domain.com
ContainerB to domain.info
You could also play with adding multiple trusted domains to one server.
domain.com
domain.info
for same server
You’d have to experiment with this trusted domain option ^^ to understand what will and will not work as you’d hope. It is very simple to setup.
If unsure, try starting by adding additional trusted domains or spinning up a secondary instance on the same server with containers. Then you’ll have a better idea of how to proceed.