Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Aug 2008
    Posts
    1

    Default default template

    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

  2. #2
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,165
    cPanel/Enkompass Access Level

    Root Administrator

    Lightbulb

    In WHM, at top of left menu type in skeleton and you'll get 1 result to click. There you see this message:


    /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.
    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.

    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.

Similar Threads & Tags
Similar threads

  1. Template Error: The template file must be given.
    By techclan in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 04-14-2011, 10:00 PM
  2. Revise default DNS template values to meet RFC recommendations
    By sneader in forum Feature Requests for cPanel/WHM
    Replies: 1
    Last Post: 03-11-2011, 02:29 AM
  3. Edit default template of apache
    By pratapsingh in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 10-16-2010, 01:35 PM
  4. Default address template
    By ronaldoo in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 07-03-2009, 01:55 PM
  5. More DNS template & default value questions
    By crwilliams in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 08-11-2006, 04:41 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube