Web Hosting Knowledge Base Web Hosting Knowledge Base
  • Home
Get Started
Web Hosting Knowledge Base Web Hosting Knowledge Base
Get Started
Web Hosting Knowledge Base Web Hosting Knowledge Base
  • Home
loading
  1. Home
  2. WebHost Manager
  3. How to use skeleton files to provide default content for customer accounts
Updated on June 21, 2024

WebHost Manager

  • Folder icon closed Folder open iconHow to manage WebHost Manager packages
  • Folder icon closed Folder open iconHow to manage web hosting accounts with WHM
  • Folder icon closed Folder open iconHow to use the WHM Feature Manager
  • Folder icon closed Folder open iconHow to manage account passwords in WHM
  • Folder icon closed Folder open iconHow to use a subdomain as an account's primary domain
  • Folder icon closed Folder open iconHow to migrate an addon domain to its own cPanel account
  • Folder icon closed Folder open iconHow to use skeleton files to provide default content for customer accounts
  • Folder icon closed Folder open iconHow to manage two-factor authentication for resellers in WHM
  • Folder icon closed Folder open iconHow to manage and secure the CSF firewall
  • Folder icon closed Folder open iconHow to review a reseller's total resource usage
  • Folder icon closed Folder open iconHow to connect WHM to WHMCS
  • Folder icon closed Folder open iconHow to access WebHost Manager
  • Folder icon closed Folder open iconHow to manage WHM packages and accounts
  • Folder icon closed Folder open iconUsing WebHost Manager for site branding and configuration
    • How to configure customer support requests in WHM
    • How to brand and customize customer accounts in WHM
  • Folder icon closed Folder open iconHow to back up and restore data with WebHost Manager
  • Folder icon closed Folder open iconHow to reset the MySQL root password in WebHost Manager (WHM)
  • Folder icon closed Folder open iconHow to suspend and unsuspend accounts in WHM

How to use skeleton files to provide default content for customer accounts

Estimated reading: 2 minutes 159 views

This article describes how to use skeleton files to provide default content for new customer accounts.Table of Contents

  • Using skeleton files

Using skeleton files

As a reseller, when you create a new customer account, its public_html and public_ftp directories are empty by default. Because there is no index file present, visitors to the new site receive a “403 Forbidden” error message.

However, there is a way to provide default content for every new account that you create in WebHost Manager. For example, you can create an index.html file that is copied to the public_html directory of every new account. The HTML file might say “Welcome! Your site is working, but there is no content yet” or something similar. You can do the same thing for FTP, adding default files that are copied to every new account.

These default files are referred to as “skeleton” files, because they provide a basic structure for all new accounts.

To set up skeleton files for your reseller account, follow these steps:

  1. Log in to your reseller cPanel account.
  2. Open the File Manager:
    • If you are using the Jupiter theme, on the Tools page, in the Files section, click File Manager:cPanel - File Manager icon (Jupiter theme)
    • If you are using the Paper Lantern theme, in the FILES section of the cPanel home page, click File Manager:
      cPanel - File Manager icon
  3. On the File Manager page, click the Settings button at the upper right.
  4. Select the Show Hidden Files (dotfiles) checkbox and click Save.
  5. In the file listing pane, double-click the cpanel3-skel directory.
  6. There are two directories in the cpanel3-skel directory:
    • public_ftp: Any files or directories that you create here are automatically copied to the public_ftp directory of new accounts.
    • public_html: Any files or directories that you create here are automatically copied to the public_html directory of new accounts. For example, you can create a default index.html file that appears for all new accounts.
  7. Log in to WebHost Manager and create a new account. The new account’s public_html and public_ftp directories contain the files you added to the cpanel3-skel directory.

How to install PivotX using Softaculous

Still stuck? How can we help?

How can we help?

Was this page helpful? Yes No

Share this Doc

How to use skeleton files to provide default content for customer accounts

Or copy link

Clipboard Icon
CONTENTS
Leaf Illustration

© 2023 All Rights Reserved by Hostvento