How to access a site in IIS with no DNS mapping

bindingsiis-7.5ip address

In my IIS 7.5 hosted in a Windows Server 2008 R2 I have several websites with no DNS address assigned. Let's take for instance the site (as named in IIS) with site name mySite. I have for this site the standard binding with no host name.

enter image description here

Suppose that my server IP address is, for instance, 101.22.23.01. Therefore it seems logic to me that in order to access the website, I should place in the address bar of my browser:

[IP_address]/[sitename]

in this case:

101.22.23.01/mySite

but it does not work. Shall I specify something else in the bindings?

Best Answer

You will need to use host headers and create the appropriate DNS records to host multiple websites using the same IP Address.

edit: For example, you will need to create bindings for each site. Create a binding for port 80 and enter the www.mysite.com in the hostname field and create the dns entry (or setup a local hosts file for testing) to point to that IP Addres. Create a second binding for port 80 and enter www.myothersite.com in the hostname field and create the DNS entry.

In other words, you can't access those multiple sites without dns mapping or setting up the sites to bind on another port or IP Address

Related Topic