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.

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:
    1
    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,279
    Likes Received:
    8
    Trophy Points:
    38
    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:
    1
    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,279
    Likes Received:
    8
    Trophy Points:
    38
    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