Modify Bandwidth Exceeded Page cPanel/WHM

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

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:
n509 Bandwidth Limit Exceeded</TITLEgt;</p> <p>Change it to whatever you like... carefully.</p> <p><strong>Step 4</strong>: Save the file while still in pico #:<br /> <strong>Ctrl X</strong> then <strong>Y</strong></p> <p>Done!</p>  |  <a href="http://www.yourserverguide.com/modify-bandwidth-exceeded-page-cpanelwhm-28/print/" title="Print This Post" rel="nofollow"><img class="WP-PrintIcon" src="http://www.yourserverguide.com/wp-content/plugins/wp-print/images/printer_famfamfam.gif" alt="Print This Post" title="Print This Post" style="border: 0px;" /></a> <a href="http://www.yourserverguide.com/modify-bandwidth-exceeded-page-cpanelwhm-28/print/" title="Print This Post" rel="nofollow">Print This Post</a> </div> <!-- End Of Class Article --> <p class="pnbsmall"> <strong>Blogsphere: </strong><!-- Technorati --><span class="technorati"><a href="http://www.technorati.com/search/http://www.yourserverguide.com/modify-bandwidth-exceeded-page-cpanelwhm-28/">Technorati</a></span><!-- /Technorati --><!-- Feedster --><span class="feedster"><a href="http://feedster.com/links.php?url=http://www.yourserverguide.com/modify-bandwidth-exceeded-page-cpanelwhm-28/">Feedster</a></span><!-- /Feedster --><!-- Bloglines --><span class="bloglines"><a href="http://www.bloglines.com/citations?url=http://www.yourserverguide.com/modify-bandwidth-exceeded-page-cpanelwhm-28/">Bloglines</a></span><br /><!-- /Bloglines --><strong>Bookmark: </strong><!-- del.icio.us --><span class="pdeli"><a href="http://del.icio.us/post?url=http://www.yourserverguide.com/modify-bandwidth-exceeded-page-cpanelwhm-28/&title=Modify+Bandwidth+Exceeded+Page+cPanel%2FWHM" title="Add to del.icio.us">Del.icio.us</a></span><!-- /del.icio.us --><!-- Spurl --><span class="spurl"><a href="http://www.spurl.net/spurl.php?title=Modify+Bandwidth+Exceeded+Page+cPanel%2FWHM&url=http://www.yourserverguide.com/modify-bandwidth-exceeded-page-cpanelwhm-28/" title="Add to Spurl">Spurl</a></span><!-- /Spurl --><!-- Furl --><span class="furl"><a href="http://www.furl.net/storeIt.jsp?title=Modify+Bandwidth+Exceeded+Page+cPanel%2FWHM&url=http://www.yourserverguide.com/modify-bandwidth-exceeded-page-cpanelwhm-28/" title="Add to Furl">Furl</a></span><!-- /Furl --><!-- Simpy --><span class="simpy"><a href="http://www.simpy.com/simpy/LinkAdd.do?href=http://www.yourserverguide.com/modify-bandwidth-exceeded-page-cpanelwhm-28/&title=Modify+Bandwidth+Exceeded+Page+cPanel%2FWHM" title="Add to Simpy">Simpy</a></span><!-- /Simpy --><!-- Blink --><span class="blink"><a href="http://www.blinklist.com/index.php?Action=Blink/addblink.php&Description=&Url=http://www.yourserverguide.com/modify-bandwidth-exceeded-page-cpanelwhm-28/&Title=Modify+Bandwidth+Exceeded+Page+cPanel%2FWHM&Tag=" title="Blink It!">Blink</a></span><!-- /Blink --><!-- Digg --><span class="digg"><a href="http://www.digg.com/submit?phase=2&url=http://www.yourserverguide.com/modify-bandwidth-exceeded-page-cpanelwhm-28/" title="Digg it!" target="_blank">Digg</a></span><!-- /Digg --><a href='http://www.yourserverguide.com/modify-bandwidth-exceeded-page-cpanelwhm-28/feed/'><br><abbr title="Really Simple Syndication">RSS</abbr> feed for comments on this post</a>  |  <a href="http://www.yourserverguide.com/modify-bandwidth-exceeded-page-cpanelwhm-28/trackback/" rel="trackback">TrackBack <abbr title="Uniform Resource Identifier">URI</abbr> for this post</a> </p><br /> <div class="postmetadata alt">    Posted in <a href="http://www.yourserverguide.com/category/hosting-cp/cpanel/" title="View all posts in cPanel" rel="category tag">cPanel</a>     </div> <!-- End Of Class Meta --> <div class="previouspost"> <script type="text/javascript"><!-- google_ad_client = "pub-5345612558516719"; google_alternate_ad_url = ""; google_ad_width = 336; google_ad_height = 280; google_ad_format = "336x280_as"; google_ad_type = "text"; google_ad_channel = "5520971784"; google_color_border = "FFFFFF"; google_color_bg = "FFFFFF"; google_color_link = "0060C0"; google_color_url = "0060C0"; google_color_text = "000000"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> <script type="text/javascript"><!-- google_ad_client = "pub-5345612558516719"; google_alternate_ad_url = ""; google_ad_width = 336; google_ad_height = 280; google_ad_format = "336x280_as"; google_ad_type = "text"; google_ad_channel = "5520971784"; google_color_border = "FFFFFF"; google_color_bg = "FFFFFF"; google_color_link = "0060C0"; google_color_url = "0060C0"; google_color_text = "000000"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </div> <!-- End Of Class previouspost --> <br /><h2><strong>Related Post:</strong></h2> <ul><li><a href="http://www.yourserverguide.com/howto-change-default-index-page-on-cpanel-31/" rel="bookmark" title="Permanent Link: Howto Change Default Index Page on cPanel">Howto Change Default Index Page on cPanel</a></li><li><a href="http://www.yourserverguide.com/howto-auto-mysql-backup-on-ensim-48/" rel="bookmark" title="Permanent Link: Howto Auto MySQL Backup on Ensim">Howto Auto MySQL Backup on Ensim</a></li><li><a href="http://www.yourserverguide.com/howto-install-zend-optimizer-on-cpanelwhm-33/" rel="bookmark" title="Permanent Link: Howto Install Zend Optimizer on cPanel/WHM">Howto Install Zend Optimizer on cPanel/WHM</a></li><li><a href="http://www.yourserverguide.com/howto-install-lxadmin-40/" rel="bookmark" title="Permanent Link: Howto Install LxAdmin">Howto Install LxAdmin</a></li><li><a href="http://www.yourserverguide.com/disabling-password-reset-option-cpanelwhm-29/" rel="bookmark" title="Permanent Link: Disabling Password Reset Option cPanel/WHM">Disabling Password Reset Option cPanel/WHM</a></li></ul> <!-- <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"> <rdf:Description rdf:about="http://www.yourserverguide.com/modify-bandwidth-exceeded-page-cpanelwhm-28/" dc:identifier="http://www.yourserverguide.com/modify-bandwidth-exceeded-page-cpanelwhm-28/" dc:title="Modify Bandwidth Exceeded Page cPanel/WHM" trackback:ping="http://www.yourserverguide.com/modify-bandwidth-exceeded-page-cpanelwhm-28/trackback/" /> </rdf:RDF> --> <p class="postmetadata alt"> Subscribe <b><a href='http://www.yourserverguide.com/modify-bandwidth-exceeded-page-cpanelwhm-28/feed/'>RSS 2.0</a></b> feed. <a href="#respond"><b>Leave a response</b></a>, or <a href="http://www.yourserverguide.com/modify-bandwidth-exceeded-page-cpanelwhm-28/trackback/"><b>Trackback</b></a> from your own site. </p> <!-- You can start editing here. --> <!-- If comments are open, but there are no comments. --> <br /> <h3 id="respond">Leave a Reply</h3> <form action="http://www.yourserverguide.com/wp-comments-post.php" method="post" id="commentform" onSubmit="return testValues(this)"> <p><input type="text" name="author" id="author" class="styled" value="" size="22" tabindex="1" /> <input type="hidden" name="comment_post_ID" value="28" /> <label for="author"><small>Name</small></label></p> <p><input type="text" name="email" id="email" value="" size="22" tabindex="2" /> <label for="email"><small>Email (will not be published)</small></label></p> <p><input type="text" name="url" id="url" value="" size="22" tabindex="3" /> <label for="url"><small>Website</small></label></p> <!--<p><small><strong>XHTML:</strong> You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> </small></p>--> <p><textarea name="comment" id="comment" cols="55%" rows="7" tabindex="4"></textarea></p> <p class="commentbutton"><input name="submit" type="submit" id="submit" tabindex="5" value="Submit Comment" /></p> </form> <!-- start bottom blog nav --> <div align="center"> <span class="menu"></span> <span class="menu"></span> </div> </div> <!-- end blogs --> <div id="sidebar"> <!-- Author --> <!-- --> <!-- resources --> <div class="blocktitle">Resources</div> <div class="block"> <div class="menu"> <u><b>Subscribe</b></u> <a href="http://www.yourserverguide.com/feed/" target="_new" title="rss"><img src="http://www.yourserverguide.com/wp-content/themes/alex/images/icon_rss.gif" alt="rss" /></a> <div class="nolilink"> <ul> <li><a href="http://www.yourserverguide.com/feed/" target="_new">RSS 2.0</a></li> <li><a href="http://www.yourserverguide.com/comments/feed/" target="_new">Comments RSS 2.0</a></li> <li><a href="http://www.yourserverguide.com/feed/rss/" target="_new">RSS 0.92</a></li> <li><a href="http://www.yourserverguide.com/feed/atom/" target="_new">Atom 0.3</a></li> </ul> </div> <br /> <u><b>Pages</b></u> <div><img src="http://www.yourserverguide.com/wp-content/themes/alex/images/blank.gif" width="1" height="5" alt="+" /></div> <ul> <li class="page_item page-item-56"><a href="http://www.yourserverguide.com/archive/" title="Archive">Archive</a></li> <li class="page_item page-item-2"><a href="http://www.yourserverguide.com/contact/" title="Contact">Contact</a></li> <li class="page_item page-item-4"><a href="http://www.yourserverguide.com/polls/" title="Polls">Polls</a></li> </ul> <br /> <u><b>Admin</b></u> <div><img src="http://www.yourserverguide.com/wp-content/themes/alex/images/blank.gif" width="1" height="5" alt="+" /></div> <ul> <li><a href="http://www.yourserverguide.com/wp-admin/" title="Admin">Admin</a></li> <li><a href="http://www.yourserverguide.com/wp-login.php">Log in</a></li> </ul> </div> </div> <!-- categories --> <br /> <div class="blocktitle">Blog Categories</div> <div class="block"> <div class="menu"> <ul class="slightbigger"> <li class="cat-item cat-item-1"><a href="http://www.yourserverguide.com/category/hosting-cp/" title="Hosting Control Panel">Hosting CP</a> (33) <ul class='children'> <li class="cat-item cat-item-4"><a href="http://www.yourserverguide.com/category/hosting-cp/cpanel/" title="cPanel">cPanel</a> (18) </li> <li class="cat-item cat-item-6"><a href="http://www.yourserverguide.com/category/hosting-cp/directadmin/" title="DirectAdmin">DirectAdmin</a> (5) </li> <li class="cat-item cat-item-7"><a href="http://www.yourserverguide.com/category/hosting-cp/ensim/" title="Ensim">Ensim</a> (3) </li> <li class="cat-item cat-item-9"><a href="http://www.yourserverguide.com/category/hosting-cp/ispconfig/" title="ISPConfig">ISPConfig</a> (1) </li> <li class="cat-item cat-item-10"><a href="http://www.yourserverguide.com/category/hosting-cp/plesk/" title="Plesk">Plesk</a> (3) </li> <li class="cat-item cat-item-20"><a href="http://www.yourserverguide.com/category/hosting-cp/ravencore/" title="RavenCore">RavenCore</a> (1) </li> </ul> </li> <li class="cat-item cat-item-2"><a href="http://www.yourserverguide.com/category/linux-unix/" title="Linux, Unix">Linux, Unix</a> (20) <ul class='children'> <li class="cat-item cat-item-5"><a href="http://www.yourserverguide.com/category/linux-unix/server-security/" title="Server Security">Server Security</a> (8) </li> <li class="cat-item cat-item-22"><a href="http://www.yourserverguide.com/category/linux-unix/vps/" title="Virtual Private Servers">VPS</a> (1) </li> </ul> </li> <li class="cat-item cat-item-3"><a href="http://www.yourserverguide.com/category/windows-server/" title="Windows Server">Windows Server</a> (1) <ul class='children'> <li class="cat-item cat-item-21"><a href="http://www.yourserverguide.com/category/windows-server/iis/" title="Internet Information Services">IIS</a> (1) </li> </ul> </li> </ul> </div> </div> <!-- monthly archives --> <br /> <div class="blocktitle">Monthly Archives</div> <div class="block"> <div class="menu"> <u><b>By Month</b></u> <div><img src="http://www.yourserverguide.com/wp-content/themes/alex/images/blank.gif" width="1" height="5" alt="" /></div> <ul> <li><a href='http://www.yourserverguide.com/date/2007/05/' title='May 2007'>May 2007</a> (1)</li> <li><a href='http://www.yourserverguide.com/date/2007/02/' title='February 2007'>February 2007</a> (3)</li> <li><a href='http://www.yourserverguide.com/date/2007/01/' title='January 2007'>January 2007</a> (1)</li> <li><a href='http://www.yourserverguide.com/date/2006/12/' title='December 2006'>December 2006</a> (15)</li> <li><a href='http://www.yourserverguide.com/date/2006/11/' title='November 2006'>November 2006</a> (30)</li> <li><a href='http://www.yourserverguide.com/date/2006/10/' title='October 2006'>October 2006</a> (3)</li> </ul> </div> </div> <!-- Links --> <br /> <div id="polls-1" class="wp-polls"> <form id="polls_form_1" class="wp-polls-form" action="/modify-bandwidth-exceeded-page-cpanelwhm-28/" method="post"> <p style="display: none;"><input type="hidden" name="poll_id" value="1" /></p> <p style="text-align: center;"><strong>What is your linux hosting control panel?</strong></p> <div id="polls-1-ans" class="wp-polls-ans"> <ul class="wp-polls-ul"> <li><input type="radio" id="poll-answer-1" name="poll_1" value="1" /> <label for="poll-answer-1">cPanel</label></li> <li><input type="radio" id="poll-answer-2" name="poll_1" value="2" /> <label for="poll-answer-2">DirectAdmin</label></li> <li><input type="radio" id="poll-answer-3" name="poll_1" value="3" /> <label for="poll-answer-3">Ensim</label></li> <li><input type="radio" id="poll-answer-4" name="poll_1" value="4" /> <label for="poll-answer-4">H-Sphere</label></li> <li><input type="radio" id="poll-answer-5" name="poll_1" value="5" /> <label for="poll-answer-5">InterWorx</label></li> <li><input type="radio" id="poll-answer-6" name="poll_1" value="6" /> <label for="poll-answer-6">Plesk</label></li> <li><input type="radio" id="poll-answer-7" name="poll_1" value="7" /> <label for="poll-answer-7">Others</label></li> </ul> <p style="text-align: center;"><input type="button" name="vote" value=" Vote " class="Buttons" onclick="poll_vote(1);" /></p> <p style="text-align: center;"><a href="#ViewPollResults" onclick="poll_result(1); return false;" title="View Results Of This Poll">View Results</a></p> </div> </form> </div> <div id="polls-1-loading" class="wp-polls-loading"><img src="http://www.yourserverguide.com/wp-content/plugins/wp-polls/images/loading.gif" width="16" height="16" alt="Loading ..." title="Loading ..." class="wp-polls-image" /> Loading ...</div> <br /> <div align="center"> <script type="text/javascript"><!-- google_ad_client = "pub-5345612558516719"; google_ad_width = 160; google_ad_height = 600; google_ad_format = "160x600_as"; google_ad_type = "text"; google_ad_channel = "5520971784"; google_color_border = "FFFFFF"; google_color_bg = "FFFFFF"; google_color_link = "E50066"; google_color_url = "0060C0"; google_color_text = "000000"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </div> <div align="center"> <script type="text/javascript"><!-- google_ad_client = "pub-5345612558516719"; google_ad_width = 120; google_ad_height = 60; google_ad_format = "120x60_as_rimg"; google_cpa_choice = "CAAQ4_ay0gEaCA4Cpk_N6izKKIHD93M"; google_ad_channel = ""; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> <br /><br /> <script type="text/javascript"><!-- google_ad_client = "pub-5345612558516719"; google_ad_width = 120; google_ad_height = 60; google_ad_format = "120x60_as_rimg"; google_cpa_choice = "CAAQn4Oy0QEaCKNo8-guCDanKI-293M"; google_ad_channel = ""; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </div> </div> <!-- End Of Class sidebar --> </div> <!-- end content --> </div> <!-- end contentwrapper --> <div id="footer"> <div style="margin-left:18px"> Copyright ©2006-2007 <a href="http://www.yourserverguide.com" title="Your Server Guide">Your Server Guide</a>.<br />Powered by <a href='http://www.wordpress.org' title='state-of-the-art semantic personal publishing platform' target='_new'>WordPress</a> & Hosted by <a href="http://www.abrarhost.com" title="AbrarHost.com" target="_blank">AbrarHost.com</a>. All Rights Reserved. <!--37 queries. 0.224 seconds.--> </div> </div> </div> <!-- end wrapper --> </body> </html>