The cPanel skeleton directory holds files that are copied into newly created hosting accounts. Use it to supply a default home page or other initial files, rather than to change existing accounts.
Locate the skeleton directory
The Skeleton Directory menu was removed from WHM in version 116. The directory feature remains available.
The standard website skeleton locations are:
/root/cpanel3-skel/public_html
/home/reseller/cpanel3-skel/public_htmlThe first is for accounts created by root. The second is for a reseller; replace reseller with the actual username and use its actual home-directory location.
Add initial website files
- Prepare the page and any supporting files on your computer. Use relative links that will work in each new account.
- With the appropriate administrator or reseller access, create the applicable
cpanel3-skel/public_htmlfolder if it is absent. - Upload the initial files into that folder, for example
index.htmland its stylesheet. Do not put them in the reseller’s own livepublic_htmlby mistake. - Check that the files have suitable ownership and permissions.
- When you next create an authorised test account, confirm that the files were copied into its
public_htmland display correctly.
Avoid passwords, private backups or account-specific data: these files will be copied into each new account using that skeleton. Changing the skeleton does not update accounts that already exist.