Setting up IPv4 and Domain restrictions is a simple task in IIS7.
Once you are logged into the server and open up IIS7, you can choose any site running or the entire IIS server. Once you choose the IPv4 Address and Domain Restrictions icon:
Once you double click the icon, you will see an “Actions” pane where you can choose to ‘Allow Entry’ or ‘Deny Entry’.
Once you choose Allow or Deny, a new windows will pop up. You can either add a single IP address or a IP range.
Once you have added the IP or IP range, click OK.