How to setup Country Browsing from Cpanel

24x7server

Well-Known Member
Apr 17, 2013
1,907
95
78
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
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.