We are excited to announce that the IIS.NET Forums are moving to the new Microsoft Q&A experience. Learn more >

View Complete Thread
  • Right-clicking explore site in IIS opens incorrect file system directory

    Nov 02, 2018 03:33 PM|memattw|LINK

    I'm just trying to find out more about what IIS is actually doing in the below situation. It seems like it could have been added as a feature at some point but I can't find anything that documents it and now feel it ultimately leads to confusion.

    Recreation steps

    1. Create a new site in IIS, call it websitebug, create a new file system directory C:\websitebug
    2. Create a second website in IIS, call it websitebug.com, create a new file system directory C:\websitebug.com.
    3. Right-click the websitebug site in IIS > Explore.

    It opens C:\websitebug.com. We have tested this on multiple machines and versions of IIS with repeatable behaviour.

    I have tried it with .co.uk, .org, .net and these fail. It only seems to demonstrate this behaviour with a .com suffix.

    My gut feel is IIS uses some suffix pattern to find .com sites and loads that directory. It's just odd it would prioritise this over an exact folder match.

    Has anyone seen this before? Or knows of a feature that explains this behaviour?