How to Blacklist/Whitelist a Country in WHM Updated on November 19, 2021 by InMotion Hosting Contributor 0 Minutes, 51 Seconds to Read One of the benefits of cPHulk is the ability to blacklist or whitelist a country in WHM. This is helpful if you want to allow a country to access your server, are limiting your customer base by country, or trying to block a specific location from attacking your site. Note: You should enable cPHulk first to access this feature in WHM. Blacklist/Whitelist a Country Log into WHM as the ‘root’ user. Type “cphulk” in the search box, then click the cPHulk Brute Force Protection link in the Security Center section. Click the Countries Management link on the cPHulk Brute Force Protection page. You will see a list of countries, type the country you want to whitelist or blacklist in the search field. You can then click the Whitelisted or Blackisted option as needed. You are finished when you see a message stating “Country whitelist and blacklist updated.“ Congratulations, now you know how to blacklist or whitelist a country in WHM! Check out our Dedicated Server Hosting for a high-performance custom server configuration. Share this Article IC InMotion Hosting Contributor Content Writer InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals! More Articles by InMotion Hosting Related Articles Sucuri for WordPress: Blacklist Monitoring Email Blacklist Removal Guide Add IP Addresses to the Whitelist/Blacklist Using Loginizer How to Blacklist/Whitelist a Country in WHM Schedule IP Blacklist Email Reports in CSF Why do mail servers get blacklisted? The RBL Checker for DNS Blacklisting How to Whitelist, Blacklist, and Ignore Addresses in BoxTrapper
Depending on what you’re trying to do, you can read more about cPHulk in cPanel documentation. You may want to contact them about such capabilities.
It might be easier for you to blacklist everything and then whitelist your preferred IP’s. You can also set notifications for successful logins from the config tab.