Once your virtual host has been configured,
you will need to modify an account IF you want your customer to have ftp access to their account.
Go to your Control Panel.
Select the 'Add a new account'option.
Select '/www/htdocs/username' for the user's Home Directory.
Add the user.
Go back to the Main Menu of the cpanel and select the 'Modify an account' option.
When asked for the username, enter the
FTP username you just created, and click on "Modify the user".
Go to the 'Change current home directory' field and change the directory to point to the virtual host subdirectory (virtual hosts are usually named the same as the domain name
[ie. xyz.com would be located in your '/www/htdocs/xyzcom/' directory])
In this case, change the home directory to reflect that virtual host's sub-directory, so that they have FTP access into that directory.
Click the "Modify the user" button to make the changes.
You have now created a way for your customers
to ftp into their virtual host account ONLY. Always check the ftp accounts you create to ensure they work!
Your user would FTP to their domain name
with the username/password you setup for them and would be taken directly to their virtual host sub-directory where they can start uploading their site, etc.