How to create virtual servers with a single user

I want to create multiple virtual servers for a handful of domains but Virtualmin creates a different user for each server which complicates stuff way too much. For instance, Wordpress won’t write to disk so uploads aren’t allowed unless it’s over FTP/SFTP which would need to hunt down the credentials and paths for that. Nextcloud needs even more careful permissions as well and a wrong edit can take the server down but the minute I SSH into the server and change permissions, all websites break down anyway so I’d like to learn how to setup Virtualmin in a non-reseller way, I’d stick with Webmin but Virtualmin has an easier website setup method and I’ve used it for a long time now to setup thing here and there I don’t know how to setup in the command line but I have yet to successfully set up a site with Webmin, let alone 2, 3 or their SSL pairings.

Any advice is welcome. :slight_smile:

Sub-servers are all owned by the same user, but can have all the same features as a top-level server.

First of all thank you for answering my question. Second, what I meant was, a vast number of PHP apps expect for the user running the web server process to be the same as the one authoring everything else, in Virtualmin, there’s one per domain, if what you are saying is correct, but there’s also the one for the web server, a different one is the default for PHP and we’re not even considering file access yet. It’s very confusing and time consuming to hunt down the settings only to screw up a tiny setting the started a chain reaction with a script and now it’s start all over again.

I resigned myself yet again and just used a NAS server, with possibly the easiest interface I’ve used bar none, DiskStation Manager. I’m going to create VMs for servers that have dedicated installers and default to a non-standard port, such as Atlassian Confluence’s port 8090 and Ubiquiti Networks UniFi’s 8080, they don’t interfere with each other so I could throw them up into a single server and don’t have to worry about virtual servers–if they’d served a similar purpose of course. DSM can handle proxied servers and setup is a breeze. The only reason I wanted Nextcloud was its customization but DSM is a solid, professional platform with everything included already.

Thanks again, cheers. :slight_smile: