HolHost.com Blog Server administrators blog

10May/11Off

Default Bandwidth Exceeded Page

In this tutorial you will learn how to modify the Cpanel bandwidth exceeded page. This page is shown for clients automatically when they run out of bandwidth. Bandwidth counts are reset every month.

Step 1: Login to the server as root in SSH.

Step 2: This will make a backup copy of the original file incase you need to revert back
cp /usr/local/cpanel/apache/mod_bwlimited.c /usr/local/cpanel/apache/mod_bwlimited.c.bak

Step 3: Then type:
pico -w /usr/local/cpanel/apache/mod_bwlimited.c

Scroll down until you reach the section where you'll see the HTML code for the bandwidth page or do a search for it in Pico #: Ctrl+W then paste this in: <HTML><HEAD>n<TITLE>509 Bandwidth Limit Exceeded</TITLE>

Change it to whatever you like... carefully.

Step 4: Save the file while still in pico #:
Crtl+X then Y

хостинг

10May/11Off

Default Index Page on hosting accounts

With this addon clients will have a default index.html page when they visit their new hosting account instead of a directory listing.

Useful information to put in this index.html page would include a link to your help desk, contact information, tutorial or any FAQ links you may have to help the client get started.

1. Create the Index Page
Take a few minutes and design a friendly html document that new visitors will see when they first get their hosting account setup. Once you're done creating the document, save it as index.html

2. Upload the Document
FTP to your server and upload the index.html file to the /cpanel3-skel/public_html directory

The reseller has a username, and the home directory is in: /home/username/ so the directory you want would be in: /home/username/cpanel3-skel/public_html  copy the index.html there.

3. Create a Test Account
Login to your WHM and create a temporary user account. Once the account is create then visit it and see if your index page shows up. If it doesn't ensure you copied it into the proper directory and check the above steps.