I have a site definition which is being resolved without a hostName tag set. Do you know what could be causing it to get resolved?
This is what the showconfig of my custom site looks like:
<site
name="MySite"
virtualFolder="/"
physicalFolder="/"
requireLogin="false"
rootPath="/sitecore/content/MySite"
startItem="/home"
database="web"
domain="extranet"
allowDebug="false"
cacheHtml="true"
htmlCacheSize="10MB"
registryCacheSize="0"
viewStateCacheSize="0"
xslCacheSize="5MB"
filteredItemsCacheSize="2MB"
language="en"
enablePreview="true"
enableWebEdit="true"
enableDebugger="false"
disableClientData="false"
patch:source="Sites.config"/>
Notice that there is not port nor hostname attribute associated with it. Also this is the site just above the "website" site.
If I open the site on anonymous tab it does resolve to my site. I also did a test on IIS and added a dummy binding and updated hosts config file. When I opened the url on the browser with the dummy hostname it did also resolve.
This is a local environment. Anyone know what I'm missing?
inherits
directive to trim up the site attributes: sitecoreskills.blogspot.com/2014/08/…