Pages

Saturday, 1 March 2014

Default index page with account creation [WHM/cPanel]

Hey :)

If you want to add a default index page while creating an account in WHM you need to know about the Skeleton Directory.

In WHM, look for "Account Functions" and choose "Skeleton Directory". This will show you where your directory is. Anything you add to your Skeleton Directory, will automatically be added to the user's directory when you create a new account.

For example, if you place a default HTML page within the "public_html" sub-directory, then it will be included within the public_html directory of the user's new account upon creation.

Example paths:
/root/cpanel3-skel
/root/cpanel3-skel/public_html
/root/cpanel3-skel/public_html/index.html

No comments:

Post a Comment