Skip to main content

bandwidth usage causing problems

Comments

3 comments

  • DennisMidjord

    SemrushBot is a known bad bot.
    What you can do to block these bots is block the user agent.

    Login to WHM and navigate to Service Configuration > Apache Configuration.
    Access "Include Editor".
    In "Pre Main Include" for all versions, enter the following:
    ```
    <Location />
        SetEnvIfNoCase User-Agent SemrushBot badbot

        Order Allow,Deny
        Allow from All
        Deny from env=badbot
    </Location>
    ```
    Add a new SetEnvIfNoCase line for each user agent you want to block. It will result in a 403 whenever they access any webpage on your server, resulting in much less bandwidth being used..

    1
  • linkup

    Thanks very much...I am sure that will help...turns out the worse offender after evaluating four domains is one called "nbot".  That bot does not appear on a good or bad lists I found but on a small site generated 37GB of bandwidth.  Another high user is simply called "feed" which had 830K hits on a site with 13gb of bandwidth.  Bothers me more not knowing what they are...

    Really appreciate it.

    0
  • cPRex Jurassic Moderator

    Thanks, DennisMidjord!

    0

Please sign in to leave a comment.