BuycPanel Blog

BuycPanel Blog

Latest news and updates

A Skeleton Directory

Posted by Allura on 28 09 2018.

Introduction
This feature is for cPanel and WHM version 66. One can navigate to (Home >> Account Functions >> Skeleton Directory) this interface to work on it. It displays the location of the skeleton directory.

The skeleton directory allows one to easily copy the same files in to every new account’s public_html and public_ftp directories when the system creates an account.

It is important to note that 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.

Also, FTP users can download the contents of the public_ftp directory.

Create a Skeleton Directory
Steps:

 	One needs to plan and create the content one wishes to supply for their new users.
 	Then one needs to place the appropriate files and subdirectories in the appropriate directory:
 	/root/cpanel3-skel/public_html — its a skeleton directory for the root user.
 	/home/reseller/cpanel3-skel/public_html — its a skeleton directory…

Introduction

This feature is for cPanel and WHM version 66. One can navigate to (Home >> Account Functions >> Skeleton Directory) this interface to work on it. It displays the location of the skeleton directory.

The skeleton directory allows one to easily copy the same files in to every new account’s public_html and public_ftp directories when the system creates an account.

It is important to note that 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.

Also, FTP users can download the contents of the public_ftp directory.

Create a Skeleton Directory

Steps:

  • One needs to plan and create the content one wishes to supply for their new users.
  • Then one needs to place the appropriate files and subdirectories in the appropriate directory:
  • /root/cpanel3-skel/public_html — its a skeleton directory for the root user.
  • /home/reseller/cpanel3-skel/public_html — its a skeleton directory for a reseller in which, the name of the home partition is represented by home, and the reseller’s username is represented by the reseller.

 

It is to be noted that when an account is created, the system copies these files to the new accounts’ public_html directories.

 

  • Then one needs to place the appropriate FTP-related files the appropriate directory:
  • /root/cpanel3-skel/public_ftp — its a skeleton FTP directory for the root user.
  • /home/reseller/cpanel3-skel/public_ftp — its a skeleton FTP directory for a reseller in which, the name of the home partition is represented by home, and the reseller’s username is represented by the reseller.

It is to note that the new user is allowed to access these files via an FTP client.

Conclusion

A skeleton directory helps the user to copy files from existing account to a new account when it is created. It can be done using certain technical steps.