Hello,
I have IIS 7 with IP adress and domain restrictions but if I want to block an IP, for example my own IP and 'deny' it, I can still access the website. How is this possible? I normally should get an error page
Printable View
Hello,
I have IIS 7 with IP adress and domain restrictions but if I want to block an IP, for example my own IP and 'deny' it, I can still access the website. How is this possible? I normally should get an error page
Try restarting (refreshing cache) in the IIS Control Panel, an alternative could be firewall block
I restarted IIS, did not help. I really want to use this, not firewall
Did you add it in the ipv4 address and restrictions menu? Also make sure it is a ipv4 address type, not a domain
no, how?
IIS panel > features view > ipv4 address and domain restrictions > add deny entry > ipv4 address and enter the IP
I said that...
'but if I want to block an IP, for example my own IP and 'deny' it, I can still access the website. How is this possible? I normally should get an error page'
If you use cloudflare just block through that :)
You add a entry, for example you could do the action "Add Deny Entry" Then just fill in your own IP and you should not be able to access the website.
that is the problem.. if I do that they can STILL access the website. I use 'deny' with my own IP to test it but I can STILL access the website
Make sure your web.config looks right, compare with others on google with your issue. If this doesn't work you should look if you have one, your htaccess and see how that one looks, maybe even disable it and just import the rules from it in to your IIS server.
web.config? how to fix?
Blocking it through the Firewall is your best option, because then it completely blocks the connections incoming from that IP address; as with if you just block it through IIS, they may still be able to have access to things such as MySQL, etc..