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

    Joined:
    Nov 3, 2007
    Messages:
    942
    Likes Received:
    0
    Trophy Points:
    66
    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.

    Thanks,

    Pratik Jajal
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,287
    Trophy Points:
    363
    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.
     
Loading...

Share This Page