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

  • 2 Users Found This Useful

Was this answer helpful?

Related Articles

How to change application pool of a website from IIS?

While you add a website from IIS Manager, you’ll get an option to select the application pool. In...

After Successful SSL Certificate Installation, It Disappeared From IIS Server Certificates

Suppose, you want to install SSL certificate on your domain, you've obtained the SSL certificate...

How to set MIME types for web fonts in IIS?

Font Squirrel's @Font-face generator is one of the best free online tools to generate required...

How to Fix HTTP Error 500 (or 500.21) - Internal Server Error Handler SSINC-shtml?

Error Message HTTP Error 500 (or 500.21) - Internal Server Error Handler SSINC-shtm' handler...

How to Backup/Restore IIS7 Configuration?

IIS 7 automatically makes history snapshots of ApplicationHost.config each time a change is...