cPanel
Skeleton Directory
Valid for versions 82 through the latest version
Version:
82
Overview
This interface displays the location of the skeleton directory. The skeleton directory allows you to easily copy the same files in to every new account’s public_html
and public_ftp
directories when the system creates the account.
Important:
- When a visitor accesses
http://example.com/
, they will see the contents ofexample.com
’spublic_html
directory. - When a visitor accesses
http://example.com/subdirectory
, they will see the contents ofexample.com
’spublic_html/subdirectory
. - FTP users can download the contents of the
public_ftp
directory.
Create a skeleton directory
To set up your skeleton directory, perform the following steps:
- Plan and create the content that you wish to supply for your new users.
- Place the appropriate files and subdirectories in the appropriate directory:
/root/cpanel3-skel/public_html
— A skeleton directory for theroot
user./home/reseller/cpanel3-skel/public_html
— A skeleton directory for a reseller, wherehome
represents the name of thehome
partition, andreseller
represents the reseller’s username.Note:The system copies these files to the new accounts’
public_html
directories when it creates accounts.
- Place the appropriate FTP-related files in the appropriate directory:
/root/cpanel3-skel/public_ftp
— A skeleton FTP directory for theroot
user./home/reseller/cpanel3-skel/public_ftp
— A skeleton FTP directory for a reseller, wherehome
represents the name of thehome
partition, andreseller
represents the reseller’s username.Note:The new user can access these files via an FTP client.