Custom directory name for VM

I created a VM with Virtualmin automatically created a directory called "domainname". Is there a way to custom define this directory so it will be created as "" as the directory name (as opposed to "domainname"?

Thank you in advance for your help.



Is this a top-level Virtual Server, or a Sub-Server?

Hi Andrey,

It's a top-level Virtual Server

In that case, the directory name it's creating is based on the name of the Virtual Server owner.

If you go into System Settings -> Virtualmin Config -> Defaults for new domains, you can set "Include domain name in usernames" to "Always" -- that would create the admin user, as well as that directory, with the ".com" at the end.