Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Bandmin configuration

Discussion in 'General Discussion' started by jteerman, Jan 15, 2009.

  1. jteerman

    jteerman Member

    Joined:
    Jul 30, 2008
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    51
    We recently started using cPanel and WHMCS. In testing account suspensions for exceeding bandwidth usage, it appears that we are not catching usage for an account when the account is accessed via an IP address. If my test account is 'test' with a domain of test.com, ftp and web traffic is counted if accessed using test.com. If I access the website via 206.111.111.111/~test or ftp into my account with the IP for the host, bandmin is not including the usage into the totals.

    Can anyone tell me if this in normal and how I can get around this? My concern is that an account will misuse the server and bypass bandwidth limits by using the IP address rather than their account.

    Thanks in advance for any help!
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,216
    Likes Received:
    10
    Trophy Points:
    313
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Being able to access websites via ~username is a known issue with proper bandwidth tracking in cPanel/WHM environments. Hence, many hosting providers use our mod_userdir tweak to prevent this. Further description of this issue as well as settings for disabling this is available in WHM -> Security -> Security Center -> Apache mod_userdir Tweak
     
  3. jteerman

    jteerman Member

    Joined:
    Jul 30, 2008
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    51
    Bandwin config

    Thanks for the quick reply! Enabling the mod_usrdir will prevent web access via ~accountname, but will this also prevent someone from using ftp with an IP address for the host name rather than their domain name? I also assume that the customer would have to wait to load their web content until their domain name resolves to our servers?
     
  4. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,216
    Likes Received:
    10
    Trophy Points:
    313
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    As this only affects mod_userdir in Apache, it will have no impact on FTP.
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice