How to set home directory of sub-server ftp user

Hi, I’m using Virtualmin and it works well, but I have a problem.
After creating sub-domain like, parent server is,
I created FTP user “”.
Then I connected to that server, so I found the home directory was
It should be “/home/example/domains/” right?
I’d like to put some files upper than public_html directory.
I temporarily change the home directory by editing /etc/passwd, but
please tell me anything better way.


It sounds like you created a website FTP access user – and those would typically home a home directory set to somewhere within the public_html folder.

You can indeed tweak the homedir like you’ve done, but there unfortunately isn’t a simpler way to do that.