Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>MDRoz,</p> <p>Generally speaking, the answer (in a vacuum) is "no." As far as SharePoint is concerned (or rather, IIS), a hostname without any qualifying port information can be mapped to one IIS website.</p> <p>Now that I've said that: there are variety of creative ways you might address this, and most are going to involve URL re-writing and remapping. A couple of ideas that come to mind:</p> <ol> <li><p>A wonderful URL rewrite module can be obtained for IIS 7 that might work for you as-is (<a href="http://www.iis.net/extensions" rel="nofollow noreferrer">http://www.iis.net/extensions</a>) ... assuming you're on Windows Server 2008, of course.</p></li> <li><p>You could probably leverage Microsoft ISA Server 2006 to map incoming requests to different SharePoint web applications (IIS websites) based on path information. I don't have an ISA admin console open in front of me right now to explicitly confirm that, though.</p></li> <li><p>You could develop an HttpModule that rewrites incoming URLs so that they are redirected or handled by different sites/web apps. This would ensure that redirection logic is specifically what you want.</p></li> </ol> <p>Another link that might have some helpful tidbits comes from Todd Klindt, SharePoint MVP and all-around nice guy: <a href="http://www.toddklindt.com/blog/Lists/Posts/Post.aspx?ID=48" rel="nofollow noreferrer">http://www.toddklindt.com/blog/Lists/Posts/Post.aspx?ID=48</a>.</p> <p>Regardless of the route you choose, I'll point out one potential sidenote and watchout: hierarchy and path depth. Generally speaking, any rewriting you do shouldn't alter a page's depth. For example, this would be okay:</p> <p><strong>myfarm/webapp1/testpage.aspx</strong> => <strong>app1.myfarm/webapp1/testpage.aspx</strong></p> <p>... but avoid doing something like this:</p> <p><strong>myfarm/webapp1/testpage.aspx</strong> => <strong>app1.myfarm/webapp1/newsite/testpage.aspx</strong></p> <p>These are fabricated examples, but I hope the point I'm trying to make is clear. In the first example, <strong>testpage.aspx</strong> is "2 levels" deep from the hostname -- and it stays that way on re-write/redirect. In the second example, it goes from 2 levels deep to 3 levels deep. Depth changes like this can lead to all sorts of insidious little problems during normal operations, as SharePoint depends on the path depth and ordering for some operations and determinations.</p> <p>I hope this helps!</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload