Skeleton Directory

Valid for versions 94 through 114

Version:

94

116


Last modified: July 18, 2023

Overview

This interface displays the location of the skeleton directory. The skeleton directory allows you to easily copy the same files into every new account’s public_html and public_ftp directories when the system creates the account. For example, this can include predefined Error Pages for accounts.

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 the skeleton directory for new accounts, 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 in 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