This article provides a guide for how to add default files for newly created accounts. This guide requires access to a WHM Reseller Hosting account.
How to Add Default Files for Newly Created Accounts
To locate the Skeleton Directory for a Reseller, follow the steps below:
- Login to WHM as reseller.
- Navigate to WHM->Account Functions->Skeleton Directory.
- Copy the Skeleton Directory location, as provided by this interface (i.e. /home/reseller1/cpanel3-skel )
This directory is what will be used as a skeleton for new accounts. For example if you place an "index.html" file in /home/reseller1/cpanel3-skel/public_html, and then setup a new account, that account will have a copy of your "index.html" in their public_html directory.
To add default files for newly created accounts, follow the steps below:
- Login to the Reseller's cPanel account.
- Open the File Manager.
- Navigate to /cpanel3-skel/public_html directory.
- Create new file named "index.html".
- Edit file "index.html".
- Add your custom html content.
- Save file "index.html"
Now, every new cPanel account created by your reseller account will include the "index.html" file in the "public_html" directory.
Conclusion
You now know how to add default files for newly created accounts.