How to Block an IP address From Visiting My Websites Through IIS?

You can restrict the access of any particular website for any specific IP address. You can add an IP address in the IP/Domain restriction in IIS Web Server. The other websites will be accessed from this IP address. Please note that following steps are only applicable to Windows VPS Hosting customers. Shared Hosting customers can submit the ticket from client area to restrict an IP address.

  1. Go to the IIS Manager from Start → Administrative Tools → Internet Information Services Manager

  2. In the Connection Panel, expand the server name, expand Sites and then your website.

  3. In the Home pane, double-click the IP Address and Domain Restriction Feature.

    IP Address and Domain Restrictions

  4. In the IP address and Domain restrictions feature, click Add Deny Entry in the Actions pane.

  5. Enter the IP address that you wish to deny and then click OK.

Related Articles

Fix :: ASP Session Times Out Before Session Timeout Value in IIS

Problem Statement Session times out before session timeout valueIn many case wherein,...

How to Set Up Wordpress Pretty Permalinks in a Windows Environment Running IIS?

Default Wordpress URL looks like http://mydomain.com/?p=123. It is not a user-friendly SEO URL....

How to generate CSR key and install SSL certificate on IIS 8?

SSL (Secure Sockets Layer) is an encryption technology, which creates an encrypted connection...

How to Add Website in IIS?

This article will assist you to add new website in IIS. If you have opted for the controlpanel,...

How to set periodic recycling for application pool in IIS 7?

Following are the steps to set periodic recycling for the application pool in IIS 7: Login to...

  • 2 Users Found This Useful

Was this answer helpful?