AnswerBun.com

Configure IIS to allow access to one site by IP address

Webmasters Asked on January 3, 2022

I have IIS 10 set up with multiple sites, all working well. To troubleshoot some intranet DNS issues I was looking at trying to enable access to any one of the sites via IP address. I have done this on apache but don’t understand how to do this on IIS.

So I would like one of the sites (any) to run on http://192.168.1.222 (example).

One Answer

IIS (and other web/application servers) can serve several sites at once from the same IP as long as it can distinguish one site from the others in any request that comes through. To achieve this they should have different IPs or the same IP with at least one domain name associated with it.

However, you can have just one site in your server assigned to one IP without any domain name associated to it, and it can be matched too when a request to that IP comes through.

So, the only thing you need to do is going to that site in IIS and in the"Bindings" dialog make sure it has the IP assigned and no domain name:

enter image description here

Before that make sure no other site in IIS has the same Ip assigned without a domain name because in that case IIS has no way to know which site should respond to requests in that IP.

That's it!

Answered by jalarcon on January 3, 2022

Add your own answers!

Related Questions

Thousands of links from Russian Sites

1  Asked on November 3, 2021 by ethan-peyton

         

How to get financial info area in Google SERP?

1  Asked on November 3, 2021 by money_badger

     

Does Google ignore empty tags?

3  Asked on November 3, 2021 by t-roberts

       

How can i create Google Maps API key (Maps, Routes, Places)?

1  Asked on November 3, 2021 by fahad-ur-rehman-khan

   

Yandex not crawling sitemap index

1  Asked on November 3, 2021 by kohjah-breese

   

Could styling tag with CSS penalize SEO?

2  Asked on November 3, 2021 by ousmane

       

Could I use multiple adsense account in same pc?

1  Asked on November 3, 2021 by k-m-rejowan-ahmmed

   

Image thumbnails blury on mobile search results

1  Asked on November 3, 2021 by tamlyn-holmes

   

Ask a Question

Get help from others!

© 2023 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP