-
YOLO <3
[IIS7] Problem
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
-
-
Proficient Member
Re: [IIS7] Problem
Try restarting (refreshing cache) in the IIS Control Panel, an alternative could be firewall block
-
YOLO <3
Re: [IIS7] Problem
I restarted IIS, did not help. I really want to use this, not firewall
-
Proficient Member
Re: [IIS7] Problem
Did you add it in the ipv4 address and restrictions menu? Also make sure it is a ipv4 address type, not a domain
-
YOLO <3
-
Proficient Member
Re: [IIS7] Problem
IIS panel > features view > ipv4 address and domain restrictions > add deny entry > ipv4 address and enter the IP
-
YOLO <3
Re: [IIS7] Problem
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'
-
Valued Member
Re: [IIS7] Problem
If you use cloudflare just block through that :)
-
Apprentice
Re: [IIS7] Problem
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.
-
YOLO <3
Re: [IIS7] Problem
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
-
Apprentice
Re: [IIS7] Problem
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.
-
YOLO <3
-
Proficient Member
Re: [IIS7] Problem

Originally Posted by
DutchenL
web.config? how to fix?
Mostly: c:/inetpub/wwwroot/web.config
-
Re: [IIS7] Problem
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..