Fresco2 Posted November 23, 2023 Posted November 23, 2023 Hello, Is there a way to add IP2Location or wathever to allow acecss to a website only from IP from a specific country? Thanks
wolstech Posted November 23, 2023 Posted November 23, 2023 There's not really a good way to do this otherwise honestly, especially with VPNs being so prevalent. You can do access by IP in an .htaccess file, but you'd need to look up and add the appropriate ranges, then maintain them. If you get your own domain, one option would be to do it using Cloudflare, which allows blocking countries in its firewall settings. Regardless, keep in mind that some functions of Plesk do not work properly if the USA is blocked, as Plesk relies on external services for some things (website previews are one example).
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now