Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

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.

Allow country for specific website from blocked country

Discussion in 'Security' started by crazyaboutlinux, Jun 9, 2017.

  1. crazyaboutlinux

    crazyaboutlinux Well-Known Member

    Nov 3, 2007
    Likes Received:
    Trophy Points:
    Hello Suport,

    Will it be possible to allow specific domain to be browsed from blocked country?

    I am just curios to know about this. I am having client who wants that his/her website should be browsed from all the countries but the mentioned countries, we have blocked in firewall.

    It would be great thing for me to take an expert advise.


    Pratik Jajal
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello Pratik,

    I don't believe this is possible if you are blocking access through firewall rules, but you may want to consider using custom Mod Security rules to block access from specific countries. You could then exclude specific Mod Security rules in single virtual hosts. Here's a thread that might help you to get started:

    ModSecurity Rule to Block Country for One Domain Only?

    Thank you.

Share This Page