The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Limit bandwidth for a subdomain.

Discussion in 'General Discussion' started by tonic, Apr 13, 2009.

  1. tonic

    tonic Registered

    Joined:
    Apr 13, 2009
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    How i can limit the bandwidth usage for a subdomain in cPanel ? (without WHM in a shared server)

    Thank you.
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    While you cannot restrict how much bandwidth a subdomain uses from within a cPanel account, there is an alternative you can consider if you are worried about a subdomain taking up excessive bandwidth (e.g. a subdomain dedicated to hosting just installation files or podcasts).

    The alternative is to have your hosting provider create a separate cPanel account for your subdomain (they can do this). They can set the bandwidth limit for that subdomain independently of that of your main domain. This will allow the subdomain to be suspended separately from your main website in the event of unexpected and excessive bandwidth usage.

    Of course, this would be something you work out with your hosting provider if you do not have a reseller account with them (just regular shared hosting).
     
  3. tonic

    tonic Registered

    Joined:
    Apr 13, 2009
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Thank you for your reply.

    I can't make any script to limit the bandwidth? Or limit the bandwidth using htacces?

    Thank you
     
  4. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    If the content of the subdomain was entirely processed by a script, it would be plausible to build such a script. Perhaps even something in .htaccess that runs all files as parameters to your script and your script acts as gatekeeper to prevent excessive bandwidth usage. That goes beyond the capabilities of cPanel/WHM itself and would be something to ask of a web designer or professional web programmer if you are not familiar on how to do that yourself.
     
Loading...

Share This Page