Child pages
  • Skeleton Directory
For cPanel & WHM version 74

Skip to end of metadata
Go to start of metadata

(WHM >> Home >> Account Functions >> Skeleton Directory)

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 of example.com 's public_html directory.
  • When a visitor accesses http://example.com/subdirectory, they will see the contents of example.com's public_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:

  1. Plan and create the content that you wish to supply for your new users.
  2. Place the appropriate files and subdirectories in the appropriate directory:

    • /root/cpanel3-skel/public_html — A skeleton directory for the root user.

    • /home/reseller/cpanel3-skel/public_html — A skeleton directory for a reseller, where home represents the name of the home partition, and reseller represents the reseller's username.

    Note:

    The system copies these files to the new accounts’ public_html directories when it creates accounts.

  3. Place the appropriate FTP-related files the appropriate directory:

    • /root/cpanel3-skel/public_ftp — A skeleton FTP directory for the root user.

    • /home/reseller/cpanel3-skel/public_ftp — A skeleton FTP directory for a reseller, where home represents the name of the home partition, and reseller represents the reseller's username.


    Note:

    The new user can access these files via an FTP client.

Additional documentation