The skeleton directory ( Skeleton Directory: A directory that defines what files and subdirectories new accounts will have by default. When the account is created, the new user’s account will contain an exact copy of the skeleton directory.) exists to let you easily copy the same files into every new account’s public_html
and public_ftp
directories when the account is created.
Keep in mind that:
- When a visitor accesses
http://example.com
, he will see the contents ofexample.com
‘spublic_html
directory. - When a visitor accesses
http://example.com/subdirectory
, he will see the contents ofpublic_html/subdirectory
. - Contents of the public_ftp directory are available for anonymous FTP users to download.
This WHM feature simply states the location of the skeleton directory (/root/cpanel3-skel
).
To set up your skeleton directory:
- These files will be accessible to the new user via an FTP client.
- Decide what kind of default setup you would like your new users to have.
- Place the appropriate subdirectories and HTML files in
/root/cpanel3-skel/public_html
.- These files will be copied to new accounts’
public_html
directories when accounts are created.
- These files will be copied to new accounts’
- Place the appropriate FTP-related files in
/root/cpanel3-skel/public_ftp
.- These files will be accessible to the new user via an FTP client.