Does anybody know if there is a function in WHM that when you make a new account to copy a default template index.html to the account automatically.
cheers,
Peter
Does anybody know if there is a function in WHM that when you make a new account to copy a default template index.html to the account automatically.
cheers,
Peter
In WHM, at top of left menu type in skeleton and you'll get 1 result to click. There you see this message:
If, like many, you setup your server with a main reseller (you) so as not to have to use root access all the time, in your main account (you, not root) you will have your own /cpanel3-skel/ directory./root/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 /root/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.
In there you can place anything you'd like all accounts to have on setup. Create all accounts using that main reseller via WHM and the contents get copied from your /cpanel3-skel/ to the users account.
Personally I like to place a nice landing page, a robots.txt, a blank favicon, and all error pages. (to prevent errors in the logs about missing files) And a simple text file explaining what these files are for and some other tidbits to get them started.
HTH.