does anyone know if there is a way to use the IP Address and Domain Restrictions module on only one website in IIS 10?
My IIS server has 12 different websites, but I only need to restrict one to domain traffic only.
I don't see anywhere in the module that allows me to target a website.
It seems like any rules would apply to all the websites being hosted on the server.
Thanks!
Best Answer
Just select the site you want to apply restrictions to from the sites node on the left.
One of the icons in the middle pane is
IP Address and Domain Restrictions
, anything you change here only applies to this site only.You can even select a directory under site and only apply restrictions to this specific directory.
This is true for most settings in IIS.