This feature is for cPanel and WHM version 66. One can navigate to (Home >> Account Functions >> Skeleton Directory) this interface to work on it. It displays the location of the skeleton directory.
The skeleton directory allows one to easily copy the same files into every new account’s public_html and public_ftp directories when the system creates an account.
It is important to note that when a visitor accesses http://example.com/, they will see the contents of example.com ‘s public_html directory.
When a visitor accesses http://example.com/subdirectory, they will see the contents of example.com’s public_html/subdirectory.
Also, FTP users can download the contents of the public_ftp directory.
Create a Skeleton Directory
1. One needs to plan and create the content one wishes to supply for their new users.
2. Then one needs to place the appropriate files and subdirectories in the appropriate directory:
- /root/cpanel3-skel/public_html — its a skeleton directory for the root user.
/home/reseller/cpanel3-skel/public_html — its a skeleton directory for a reseller in which, the name of the home partition is represented by home, and the reseller’s username is represented by the reseller.
It is to be noted that when an account is created, the system copies these files to the new accounts’ public_html directories.
3. Then one needs to place the appropriate FTP-related files the appropriate directory:
- /root/cpanel3-skel/public_ftp — its a skeleton FTP directory for the root user.
- /home/reseller/cpanel3-skel/public_ftp — its a skeleton FTP directory for a reseller in which, the name of the home partition is represented by home, and the reseller’s username is represented by the reseller.
It is to note that the new user is allowed to access these files via an FTP client.