We help IT Professionals succeed at work.

Dumb  IIS Site Bindign Question

200 Views
Last Modified: 2014-10-06
Really dumb question, but i haven't had to dig into IIS in some time.  

Anyway, got a web server that contains multiple sites under the default website.  When we browse to the site via ip or hostname, we hit the wrong one
ie. http://192.168.0.1/
goes ro
httP://192.168.0.1/INCORRECT
instead of
http://192.168.0.1/Correct

Where both of the above have their own paths and are under the default website
Comment
Watch Question

CERTIFIED EXPERT
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
Well, that's what I'm looking for, where are those headers.  Again, I haven't worked much in IIS in years, and minimal in IIS7.  

Note, this usually works without issue.  A little more info
Product A is installed on the server.  Product A has  websites under Default Website (INCORRECT)
Product B is installed on the server.  Product B has websites under Default Website (CORRECT)

Everything works fine

Product A is upgraded, and overwrites the headers.

CERTIFIED EXPERT

Commented:
ok so first thing.

Anything "under a website" will be a subdirectory - or virtual directory


If you are looking to have separate website (own hostname etc) you will have to follow the steps below:
open iis manager - inetmgr
expand the server node
Create a new website for the site you want to resolve to for site B (e.g siteb.domain.com)
in configuring the site you will be able to set all the values (hostname, default directory etc)

If you can give me a screenshot of you current config I can help better to figure this out with you.

Author

Commented:
OK, yeah, let em clarify:
By under "Website" I mean actually in the IIS tree under "Default Website" which has http/80 bound.  I have a secondary that FTP binds to (unrelated)

Each entry under there is a virtual directory.   WHen you brows by IP or hostname you always enIIS.pngd up in the "Communicator" site.  Ww need to be in the "ManagementStudio" site

As mentioned, these sites are auto-provisioned.  I could just run a repair install on the secondary product (but I'd much rather resolve it manually)

Note ManagmentStudio is physically under inetpub\ftproot\ManagementStudio
CERTIFIED EXPERT

Commented:
so check two things:
one look for the IP bound to the default website:
click on the default website and click on bindings on the left, it should show if it is using all ips or a specific ip
two, check the default directory of the default website (unless there is some application specific behavior I would bet it is pointing to Communicator, or whatever the path is to communicator)

PS. I would suggest if there is a known method to resolve this, that you use that instead of making manual changes, you could break other flows without realizing.

Author

Commented:
I totally understand the concern with the manual fix, but I am very familiar with how everything operates that I know  it won't be an issue (I've fixed this same problem in the past, I just didn't notate well).  The main issue is this system is mission critical and re-install will cause an outage of over an hour.  The webpage is only for management of the system, not part of it's actual operation.   That requires a maintenance window, and I am trying to resolve without that (who wants to work after hours!!!)

Anyway, checking those items, I appreciate the tips.
David Johnson, CDSimple Geek from the '70s
CERTIFIED EXPERT
Distinguished Expert 2019

Commented:
you should be adding a website and not just add a virtual directory under the default website for many reasons one being security.
CERTIFIED EXPERT

Commented:
Did you make any progress in investigating this issue based on the ip binding in IIS ?
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.