IP address and Domain restrictions showing 404 error - IIS 8.5

687 Views Asked by At

I want to restrict some IP's to access the website so I'm trying using IP address and domain restrictions feature but it's showing 404 error to allowed IP and for deny IP it's properly showing the request is denied.

I'm configuring this changes on Windows Server 2012 R2 and IIS version 8.5

configuration for the allow IP

configuration for the allow IP

This are feature settings

This are feature settings

Result When IP not added in Allow list

When IP not added in Allow list

Result When IP is added in allow list

When IP is added in allow list

why this page not found is showing?

any other alternative to restrict the IP to access website?

1

There are 1 best solutions below

3
Veselin Vasilev On

Try adding the server's IP address(es) to the allowed list, because when you go to /sitefinity, the server sends a request to internal endpoint and if that request is blocked then you are getting redirected to your custom error page.