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.

How to setup Country Browsing from Cpanel

Discussion in 'Security' started by bet2indo, Feb 22, 2014.

  1. bet2indo

    bet2indo Registered

    Joined:
    Feb 22, 2014
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Hi, I need a tutorial How to Block Country IP.

    May somebody help me how to setup at cpanel

    thx
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,146
    Likes Received:
    34
    Trophy Points:
    48
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hello,

    You will have to add all ip's in your .htaccess file which you want to block. You can update your .htaccess file through your cPanel File manager.

    Block Visitors by Country | IP2Location.com

    ip2location.com will generate a list for a single country as CIDR, htaccess allow/deny, or iptables.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,811
    Likes Received:
    671
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Your access level is listed as "Website Owner". Thus, since you do not have root access to the system, you would have to use the .htaccess file to prevent IP addresses from accessing your website. The previous post offers some guidance on this.

    Thank you.
     
Loading...

Share This Page