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

How to set website redirection from IIS 7?

This article will guide you to redirect the URL using HTTP Redirect functionality in IIS. Open...

How to import SSL certificate in Windows server?

To import SSL Certificate in Windows Server, firstly, you need to export the SSL certificate....

How to backup/restore IIS7 configuration file from command prompt?

Backup: Login to your server by using administrative rights. Open command prompt using...

Everything you should know about IIS Application Pools

1) What is an Application Pool? Application pool is a collection of one or more websites running...

How to Configure Passive Port Range for the FTP Service in IIS?

Following article will assist you to configure passive range for FTP service in IIS web server....

  • 2 Users Found This Useful

Was this answer helpful?