<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Jimmie's Sharings : URL</title><link>http://blogs.msdn.com/jimmiet/archive/tags/URL/default.aspx</link><description>Tags: URL</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Vanity Site Collection URLs</title><link>http://blogs.msdn.com/jimmiet/archive/2008/06/01/vanity-site-collection-urls.aspx</link><pubDate>Sun, 01 Jun 2008 17:05:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8567657</guid><dc:creator>jimmiet</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/jimmiet/comments/8567657.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jimmiet/commentrss.aspx?PostID=8567657</wfw:commentRss><description>&lt;META content=Word.Document name=ProgId&gt;
&lt;META content="Microsoft Word 12" name=Generator&gt;
&lt;META content="Microsoft Word 12" name=Originator&gt;&lt;LINK href="Site%20Collection%20Vanity%20URLs_files/filelist.xml" rel=File-List mce_href="Site%20Collection%20Vanity%20URLs_files/filelist.xml"&gt;&lt;LINK href="Site%20Collection%20Vanity%20URLs_files/editdata.mso" rel=Edit-Time-Data mce_href="Site%20Collection%20Vanity%20URLs_files/editdata.mso"&gt;
&lt;STYLE&gt;
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
&lt;/STYLE&gt;
&lt;LINK href="Site%20Collection%20Vanity%20URLs_files/themedata.thmx" rel=themeData mce_href="Site%20Collection%20Vanity%20URLs_files/themedata.thmx"&gt;&lt;LINK href="Site%20Collection%20Vanity%20URLs_files/colorschememapping.xml" rel=colorSchemeMapping mce_href="Site%20Collection%20Vanity%20URLs_files/colorschememapping.xml"&gt;
&lt;STYLE&gt;
&lt;!--
 /* Font Definitions */
 @font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;
	mso-font-charset:2;
	mso-generic-font-family:auto;
	mso-font-pitch:variable;
	mso-font-signature:0 268435456 0 0 -2147483648 0;}
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;
	mso-font-charset:0;
	mso-generic-font-family:roman;
	mso-font-pitch:variable;
	mso-font-signature:-1610611985 1107304683 0 0 159 0;}
@font-face
	{font-family:Cambria;
	panose-1:2 4 5 3 5 4 6 3 2 4;
	mso-font-charset:0;
	mso-generic-font-family:roman;
	mso-font-pitch:variable;
	mso-font-signature:-1610611985 1073741899 0 0 159 0;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;
	mso-font-charset:0;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:-1610611985 1073750139 0 0 159 0;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;
	mso-font-charset:0;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:-520082689 -1073717157 41 0 66047 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-unhide:no;
	mso-style-qformat:yes;
	mso-style-parent:"";
	margin-top:6.0pt;
	margin-right:0in;
	margin-bottom:6.0pt;
	margin-left:0in;
	line-height:115%;
	mso-pagination:widow-orphan;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";
	mso-fareast-font-family:Calibri;
	mso-bidi-font-family:"Times New Roman";}
h1
	{mso-style-priority:99;
	mso-style-unhide:no;
	mso-style-qformat:yes;
	mso-style-link:"Heading 1 Char";
	mso-style-next:Normal;
	margin-top:24.0pt;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:0in;
	margin-bottom:.0001pt;
	line-height:115%;
	mso-pagination:widow-orphan lines-together;
	page-break-after:avoid;
	mso-outline-level:1;
	font-size:14.0pt;
	font-family:"Cambria","serif";
	mso-fareast-font-family:"Times New Roman";
	color:#365F91;
	mso-font-kerning:0pt;}
h2
	{mso-style-priority:99;
	mso-style-unhide:no;
	mso-style-qformat:yes;
	mso-style-locked:yes;
	mso-style-link:"Heading 2 Char";
	mso-style-next:Normal;
	margin-top:12.0pt;
	margin-right:0in;
	margin-bottom:3.0pt;
	margin-left:0in;
	line-height:115%;
	mso-pagination:widow-orphan;
	page-break-after:avoid;
	mso-outline-level:2;
	font-size:14.0pt;
	font-family:"Arial","sans-serif";
	font-style:italic;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	mso-style-unhide:no;
	font-family:"Times New Roman","serif";
	mso-bidi-font-family:"Times New Roman";
	color:blue;
	text-decoration:underline;
	text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-noshow:yes;
	mso-style-priority:99;
	color:purple;
	mso-themecolor:followedhyperlink;
	text-decoration:underline;
	text-underline:single;}
p.MsoDocumentMap, li.MsoDocumentMap, div.MsoDocumentMap
	{mso-style-noshow:yes;
	mso-style-priority:99;
	mso-style-unhide:no;
	mso-style-link:"Document Map Char";
	margin-top:6.0pt;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:0in;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";
	mso-fareast-font-family:Calibri;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:99;
	mso-style-unhide:no;
	mso-style-qformat:yes;
	margin-top:6.0pt;
	margin-right:0in;
	margin-bottom:6.0pt;
	margin-left:.5in;
	mso-add-space:auto;
	line-height:115%;
	mso-pagination:widow-orphan;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";
	mso-fareast-font-family:Calibri;
	mso-bidi-font-family:"Times New Roman";}
p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst
	{mso-style-priority:99;
	mso-style-unhide:no;
	mso-style-qformat:yes;
	mso-style-type:export-only;
	margin-top:6.0pt;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	margin-bottom:.0001pt;
	mso-add-space:auto;
	line-height:115%;
	mso-pagination:widow-orphan;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";
	mso-fareast-font-family:Calibri;
	mso-bidi-font-family:"Times New Roman";}
p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle
	{mso-style-priority:99;
	mso-style-unhide:no;
	mso-style-qformat:yes;
	mso-style-type:export-only;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	margin-bottom:.0001pt;
	mso-add-space:auto;
	line-height:115%;
	mso-pagination:widow-orphan;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";
	mso-fareast-font-family:Calibri;
	mso-bidi-font-family:"Times New Roman";}
p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast
	{mso-style-priority:99;
	mso-style-unhide:no;
	mso-style-qformat:yes;
	mso-style-type:export-only;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:6.0pt;
	margin-left:.5in;
	mso-add-space:auto;
	line-height:115%;
	mso-pagination:widow-orphan;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";
	mso-fareast-font-family:Calibri;
	mso-bidi-font-family:"Times New Roman";}
span.Heading1Char
	{mso-style-name:"Heading 1 Char";
	mso-style-priority:99;
	mso-style-unhide:no;
	mso-style-locked:yes;
	mso-style-link:"Heading 1";
	mso-ansi-font-size:14.0pt;
	mso-bidi-font-size:14.0pt;
	font-family:"Cambria","serif";
	mso-ascii-font-family:Cambria;
	mso-hansi-font-family:Cambria;
	mso-bidi-font-family:"Times New Roman";
	color:#365F91;
	font-weight:bold;}
span.Heading2Char
	{mso-style-name:"Heading 2 Char";
	mso-style-noshow:yes;
	mso-style-priority:9;
	mso-style-unhide:no;
	mso-style-locked:yes;
	mso-style-link:"Heading 2";
	mso-ansi-font-size:14.0pt;
	mso-bidi-font-size:14.0pt;
	font-family:"Cambria","serif";
	mso-ascii-font-family:Cambria;
	mso-ascii-theme-font:major-latin;
	mso-fareast-font-family:"Times New Roman";
	mso-fareast-theme-font:major-fareast;
	mso-hansi-font-family:Cambria;
	mso-hansi-theme-font:major-latin;
	mso-bidi-font-family:"Times New Roman";
	mso-bidi-theme-font:major-bidi;
	font-weight:bold;
	font-style:italic;}
span.DocumentMapChar
	{mso-style-name:"Document Map Char";
	mso-style-noshow:yes;
	mso-style-priority:99;
	mso-style-unhide:no;
	mso-style-locked:yes;
	mso-style-link:"Document Map";
	mso-ansi-font-size:8.0pt;
	mso-bidi-font-size:8.0pt;
	font-family:"Tahoma","sans-serif";
	mso-ascii-font-family:Tahoma;
	mso-hansi-font-family:Tahoma;
	mso-bidi-font-family:Tahoma;}
p.Sample, li.Sample, div.Sample
	{mso-style-name:Sample;
	mso-style-priority:99;
	mso-style-unhide:no;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.3in;
	margin-bottom:.0001pt;
	line-height:115%;
	mso-pagination:widow-orphan;
	background:#D9D9D9;
	font-size:9.0pt;
	mso-bidi-font-size:11.0pt;
	font-family:"Courier New";
	mso-fareast-font-family:Calibri;
	mso-bidi-font-family:"Times New Roman";
	mso-no-proof:yes;}
span.SpellE
	{mso-style-name:"";
	mso-spl-e:yes;}
span.GramE
	{mso-style-name:"";
	mso-gram-e:yes;}
.MsoChpDefault
	{mso-style-type:export-only;
	mso-default-props:yes;
	font-size:11.0pt;
	mso-ansi-font-size:11.0pt;
	mso-bidi-font-size:11.0pt;
	mso-ascii-font-family:Calibri;
	mso-fareast-font-family:Calibri;
	mso-hansi-font-family:Calibri;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;
	mso-header-margin:.5in;
	mso-footer-margin:.5in;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
 /* List Definitions */
 @list l0
	{mso-list-id:-132;
	mso-list-type:simple;
	mso-list-template-ids:-1348853000;}
@list l0:level1
	{mso-level-tab-stop:1.25in;
	mso-level-number-position:left;
	margin-left:1.25in;
	text-indent:-.25in;
	mso-bidi-font-family:"Times New Roman";}
@list l1
	{mso-list-id:-131;
	mso-list-type:simple;
	mso-list-template-ids:-41805654;}
@list l1:level1
	{mso-level-tab-stop:1.0in;
	mso-level-number-position:left;
	margin-left:1.0in;
	text-indent:-.25in;
	mso-bidi-font-family:"Times New Roman";}
@list l2
	{mso-list-id:-130;
	mso-list-type:simple;
	mso-list-template-ids:719192296;}
@list l2:level1
	{mso-level-tab-stop:.75in;
	mso-level-number-position:left;
	margin-left:.75in;
	text-indent:-.25in;
	mso-bidi-font-family:"Times New Roman";}
@list l3
	{mso-list-id:-129;
	mso-list-type:simple;
	mso-list-template-ids:22303018;}
@list l3:level1
	{mso-level-tab-stop:.5in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-bidi-font-family:"Times New Roman";}
@list l4
	{mso-list-id:-128;
	mso-list-type:simple;
	mso-list-template-ids:-1882151978;}
@list l4:level1
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:1.25in;
	mso-level-number-position:left;
	margin-left:1.25in;
	text-indent:-.25in;
	font-family:Symbol;}
@list l5
	{mso-list-id:-127;
	mso-list-type:simple;
	mso-list-template-ids:1070477284;}
@list l5:level1
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:1.0in;
	mso-level-number-position:left;
	margin-left:1.0in;
	text-indent:-.25in;
	font-family:Symbol;}
@list l6
	{mso-list-id:-126;
	mso-list-type:simple;
	mso-list-template-ids:225887656;}
@list l6:level1
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:.75in;
	mso-level-number-position:left;
	margin-left:.75in;
	text-indent:-.25in;
	font-family:Symbol;}
@list l7
	{mso-list-id:-125;
	mso-list-type:simple;
	mso-list-template-ids:387619706;}
@list l7:level1
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:.5in;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l8
	{mso-list-id:-120;
	mso-list-type:simple;
	mso-list-template-ids:-230531922;}
@list l8:level1
	{mso-level-tab-stop:.25in;
	mso-level-number-position:left;
	margin-left:.25in;
	text-indent:-.25in;
	mso-bidi-font-family:"Times New Roman";}
@list l9
	{mso-list-id:-119;
	mso-list-type:simple;
	mso-list-template-ids:-1072798772;}
@list l9:level1
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:.25in;
	mso-level-number-position:left;
	margin-left:.25in;
	text-indent:-.25in;
	font-family:Symbol;}
@list l10
	{mso-list-id:301083591;
	mso-list-type:hybrid;
	mso-list-template-ids:1029606110 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l10:level1
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-bidi-font-family:"Times New Roman";}
@list l11
	{mso-list-id:824778230;
	mso-list-type:hybrid;
	mso-list-template-ids:-1354316894 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l11:level1
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-bidi-font-family:"Times New Roman";}
@list l12
	{mso-list-id:1238252285;
	mso-list-type:hybrid;
	mso-list-template-ids:1808534394 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l12:level1
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l13
	{mso-list-id:1655184215;
	mso-list-type:hybrid;
	mso-list-template-ids:-72568834 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l13:level1
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-bidi-font-family:"Times New Roman";}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
--&gt;
&lt;/STYLE&gt;

&lt;DIV class=Section1&gt;
&lt;H1&gt;Vanity Site Collection URLs&lt;/H1&gt;
&lt;P class=MsoNormal&gt;A customer recently asked for “vanity” URLs for each of the major departments; HR, Finance, Legal, etc.; so for example, HR would be &lt;A href="http://hr.bigcorp/" mce_href="http://hr.bigcorp"&gt;http://hr.bigcorp&lt;/A&gt;, and legal would be &lt;A href="http://legal.bigcorp/" mce_href="http://legal.bigcorp"&gt;http://legal.bigcorp&lt;/A&gt;.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;No problem you say, just create a web application for each department, give the web application default zone the vanity URL, create corresponding DNS entries, and the requirement is fulfilled.&lt;/P&gt;
&lt;P class=MsoNormal&gt;The problem is there are over 30 departments, not to mention foreign subsidiaries, and possibly other “I want my own vanity URL” requests from other corporate groups. Since web applications are heavy resource consumers, each one requiring one IIS web site per zone, basing vanity URLS on web applications would not be feasible.&lt;/P&gt;
&lt;P class=MsoNormal&gt;The traditional out-of-the-box site collection paths did not meet the requirements;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN-LEFT: 0.5in"&gt;Wildcard inclusion; e.g., &lt;A href="http://bigcorp/sites/finance" mce_href="http://bigcorp/sites/finance"&gt;http://bigcorp/sites/finance&lt;/A&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN-LEFT: 0.5in"&gt;Explicit inclusion: e.g., &lt;A href="http://bigcorp/finance" mce_href="http://bigcorp/finance"&gt;http://bigcorp/finance&lt;/A&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;For both wildcard inclusion and explicit inclusion, the vanity part of the URL is at the end, which is not what was desired.&lt;/P&gt;
&lt;H2&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'"&gt;Host-Named Site Collections&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/H2&gt;
&lt;P class=MsoNormal&gt;Host-named site collections (what used to be called "scalable hosting mode" in WSS v2) provide exactly the needed capability. Don’t confuse the terms &lt;I style="mso-bidi-font-style: normal"&gt;host-named&lt;/I&gt; with &lt;I style="mso-bidi-font-style: normal"&gt;host headers&lt;/I&gt;. They are different concepts. The &lt;I style="mso-bidi-font-style: normal"&gt;host-named &lt;/I&gt;concept applies to the internal SharePoint virtual path mapping mechanism; whereas &lt;I style="mso-bidi-font-style: normal"&gt;host headers&lt;/I&gt; apply to IIS web sites independent of SharePoint.&lt;/P&gt;
&lt;P class=MsoNormal&gt;Host-named site collections effectively allow use of an arbitrary URL, which is associated with an existing web application. There can be many host-named sites for a web application.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;The net result is freedom to have as many vanity URLs as necessary, while limiting the number of web applications. We can have URLs like &lt;A href="http://finance.bigcorp/" mce_href="http://finance.bigcorp"&gt;http://finance.bigcorp&lt;/A&gt;, &lt;A href="http://finance/" mce_href="http://finance"&gt;http://finance&lt;/A&gt;, &lt;A href="http://my.finance/" mce_href="http://my.finance"&gt;http://my.finance&lt;/A&gt;, etc.&lt;/P&gt;
&lt;P class=MsoNormal&gt;Host-named sites cannot be created through the UI. You must use stsadm. This should not deter you, since the syntax is simple. The secret is to add the –&lt;SPAN class=SpellE&gt;hhurl&lt;/SPAN&gt; parameter to the stsadm &lt;SPAN class=SpellE&gt;createsite&lt;/SPAN&gt; command. &lt;/P&gt;
&lt;H2&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'"&gt;Host-Named Site Collections Limitations&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/H2&gt;
&lt;P class=MsoNormal&gt;As with all good things, there are some limitations and complications. The following blog is an excellent read: &lt;A href="https://mail.microsoft.com/OWA/redir.aspx?C=481d8f52969b40ccbabd436c73460ae3&amp;amp;URL=http%3a%2f%2fblogs.msdn.com%2fsharepoint%2farchive%2f2007%2f03%2f06%2fwhat-every-sharepoint-administrator-needs-to-know-about-alternate-access-mappings-part-1.aspx" target=_blank mce_href="https://mail.microsoft.com/OWA/redir.aspx?C=481d8f52969b40ccbabd436c73460ae3&amp;amp;URL=http%3a%2f%2fblogs.msdn.com%2fsharepoint%2farchive%2f2007%2f03%2f06%2fwhat-every-sharepoint-administrator-needs-to-know-about-alternate-access-mappings-part-1.aspx"&gt;&lt;SPAN style="LINE-HEIGHT: 115%; mso-bidi-font-size: 10.0pt; mso-bidi-font-family: Tahoma"&gt;http://blogs.msdn.com/sharepoint/archive/2007/03/06/what-every-sharepoint-administrator-needs-to-know-about-alternate-access-mappings-part-1.aspx&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="LINE-HEIGHT: 115%; mso-bidi-font-size: 10.0pt; mso-bidi-font-family: Tahoma"&gt;.&lt;/SPAN&gt;&lt;SPAN style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Tahoma','sans-serif'; mso-bidi-font-size: 10.0pt"&gt; &lt;/SPAN&gt;Quoting from this blog:&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN-LEFT: 0.5in"&gt;Host-named site collections short circuit much of the AAM functionality, including the URL remapping functionality.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;They're always considered to be in the Default zone, and their URL is &lt;SPAN class=GramE&gt;always&lt;/SPAN&gt; the same URL you supplied when creating the site collection.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;You cannot use host-named site collections with off-box SSL termination, port translation, or host header manipulation scenarios.&lt;/P&gt;
&lt;P class=MsoNormal&gt;This whitepaper is also highly recommended reading. It discusses how to enable SSL, and many other configuration issues:&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN-LEFT: 0.5in"&gt;&lt;A href="http://office.microsoft.com/search/redir.aspx?AssetID=AM102157711033" mce_href="http://office.microsoft.com/search/redir.aspx?AssetID=AM102157711033"&gt;http://office.microsoft.com/search/redir.aspx?AssetID=AM102157711033&lt;/A&gt;&lt;/P&gt;
&lt;H2&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'"&gt;Step-by-Step Example&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/H2&gt;
&lt;P class=MsoNormal&gt;Assume we want to create a site collection with the vanity URL &lt;A href="http://finance.litwareinc.com/" mce_href="http://finance.litwareinc.com"&gt;http://finance.litwareinc.com&lt;/A&gt; in the &lt;A href="http://extranet.litwareinc.com/" mce_href="http://extranet.litwareinc.com"&gt;http://extranet.litwareinc.com&lt;/A&gt; web application.&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;SPAN style="FONT-SIZE: 12pt; LINE-HEIGHT: 115%; mso-bidi-font-size: 11.0pt"&gt;Step 1:&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style="FONT-SIZE: 12pt; LINE-HEIGHT: 115%; mso-bidi-font-size: 11.0pt"&gt; &lt;/SPAN&gt;Open a command prompt as a farm administrator, and then enter this command, being sure to include the –&lt;SPAN class=SpellE&gt;hhurl&lt;/SPAN&gt; parameter:&lt;/P&gt;
&lt;P class=Sample&gt;&amp;gt;stsadm -o createsite -url http://finance.litwareinc.com -ownerlogin litwareinc\administrator -owneremail administrator@litwareinc.com &lt;SPAN style="BACKGROUND: yellow; mso-highlight: yellow"&gt;-hhurl http://extranet.litwareinc.com&lt;/SPAN&gt; -sitetemplate STS#1 -title "Finance Department" -quota DepartmentalSite&lt;/P&gt;
&lt;P class=Sample&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=Sample&gt;Operation completed successfully.&lt;/P&gt;
&lt;P class=MsoNormal&gt;The new site collection appears in the site collection list of the &lt;B style="mso-bidi-font-weight: normal"&gt;extranet.litwareinc.com&lt;/B&gt; web application.&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;&lt;IMG height=269 src="http://blogs.msdn.com/photos/jimmiet/images/8553453/original.aspx" width=651 mce_src="http://blogs.msdn.com/photos/jimmiet/images/8553453/original.aspx"&gt; 
&lt;P class=MsoNormal&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;SPAN style="FONT-SIZE: 12pt; LINE-HEIGHT: 115%; mso-bidi-font-size: 11.0pt"&gt;Step 2:&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style="FONT-SIZE: 12pt; LINE-HEIGHT: 115%; mso-bidi-font-size: 11.0pt"&gt; &lt;/SPAN&gt;Create a DNS entry for this new name, pointing to the &lt;A href="http://extranet.litwareinc.com/" mce_href="http://extranet.litwareinc.com"&gt;http://extranet.litwareinc.com&lt;/A&gt; IP address. For local test, make an entry the hosts file.&lt;/P&gt;&lt;IMG height=335 src="http://blogs.msdn.com/photos/jimmiet/images/8553473/original.aspx" width=653 mce_src="http://blogs.msdn.com/photos/jimmiet/images/8553473/original.aspx"&gt; 
&lt;P class=MsoNormal&gt;You can now open a browser and navigate to the site collection.&lt;/P&gt;&lt;IMG height=343 src="http://blogs.msdn.com/photos/jimmiet/images/8553459/original.aspx" width=878 mce_src="http://blogs.msdn.com/photos/jimmiet/images/8553459/original.aspx"&gt; 
&lt;P class=MsoNormal&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;SPAN style="FONT-SIZE: 12pt; LINE-HEIGHT: 115%; mso-bidi-font-size: 11.0pt"&gt;Step 3:&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style="FONT-SIZE: 12pt; LINE-HEIGHT: 115%; mso-bidi-font-size: 11.0pt"&gt; &lt;/SPAN&gt;Create a search context for the new site collection, or include it as a starting address within an existing site collection. Start a crawl to include the site contents in the search index.&lt;/P&gt;&lt;IMG height=431 src="http://blogs.msdn.com/photos/jimmiet/images/8553480/original.aspx" width=671 mce_src="http://blogs.msdn.com/photos/jimmiet/images/8553480/original.aspx"&gt; &lt;IMG height=253 src="http://blogs.msdn.com/photos/jimmiet/images/8553458/original.aspx" width=634 mce_src="http://blogs.msdn.com/photos/jimmiet/images/8553458/original.aspx"&gt; 
&lt;P class=MsoNormal&gt;To test the search, create a simple text document in a shared document library. When the next increment crawl completes, you can then search for the document to verify the search results are using the vanity URL.&lt;/P&gt;&lt;IMG height=299 src="http://blogs.msdn.com/photos/jimmiet/images/8553481/original.aspx" width=685 mce_src="http://blogs.msdn.com/photos/jimmiet/images/8553481/original.aspx"&gt; &lt;IMG height=341 src="http://blogs.msdn.com/photos/jimmiet/images/8553465/original.aspx" width=643 mce_src="http://blogs.msdn.com/photos/jimmiet/images/8553465/original.aspx"&gt; 
&lt;H2&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'"&gt;The Kerberos Factor&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/H2&gt;
&lt;P class=MsoNormal&gt;The stsadm site creation command will give a warning if the host web application is using Kerberos authentication (negotiate).&lt;/P&gt;
&lt;P class=Sample&gt;&amp;gt;stsadm -o createsite -url http://finance.litwareinc.com –ownerlogin mossfs\administrator -owneremail administrator&lt;/P&gt;
&lt;P class=Sample&gt;@mossfs.com -hhurl http://dmz.litwareinc.com -sitetemplate STS#1 -title "Finance Department"&lt;/P&gt;
&lt;P class=Sample&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=Sample&gt;WARNING: SharePoint no longer customizes Integrated Authentication security settings. This Web application may be using &lt;SPAN style="BACKGROUND: yellow; mso-highlight: yellow"&gt;Kerberos&lt;/SPAN&gt;, which can require manual configuration. See http://support.microsoft.c&lt;/P&gt;
&lt;P class=Sample&gt;om/?id=832769 for more information.&lt;/P&gt;
&lt;P class=Sample&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=Sample&gt;Operation completed successfully.&lt;/P&gt;
&lt;P class=MsoNormal&gt;It is necessary to register the vanity URL with Active Directory using &lt;SPAN class=SpellE&gt;setspn&lt;/SPAN&gt;.&lt;/P&gt;
&lt;P class=Sample&gt;&amp;gt;setspn -a http/finance.litwareinc.com litwareinc\administrator&lt;/P&gt;
&lt;P class=MsoNormal&gt;In my testing, I stumbled into another complication. Without realizing it at first, I created a site collection in the Intranet zone of a web application, which was configured for Kerberos.&lt;/P&gt;&lt;IMG height=185 src="http://blogs.msdn.com/photos/jimmiet/images/8553463/original.aspx" width=666 mce_src="http://blogs.msdn.com/photos/jimmiet/images/8553463/original.aspx"&gt; &lt;IMG height=187 src="http://blogs.msdn.com/photos/jimmiet/images/8553467/original.aspx" width=589 mce_src="http://blogs.msdn.com/photos/jimmiet/images/8553467/original.aspx"&gt; &lt;IMG height=160 src="http://blogs.msdn.com/photos/jimmiet/images/8553482/original.aspx" width=563 mce_src="http://blogs.msdn.com/photos/jimmiet/images/8553482/original.aspx"&gt; 
&lt;P class=MsoNormal&gt;After creating the site collection, adding the DNS (host file) entry, and executing &lt;SPAN class=SpellE&gt;setspn&lt;/SPAN&gt;, I got a “This site is under construction” error page every time I tried to browse to the site. I eventually worked-around this by explicitly adding a host header to the IIS web site. I consider this an unsupported solution, and so I recommend extensive testing before applying it to a production scenario.&lt;/P&gt;&lt;IMG height=357 src="http://blogs.msdn.com/photos/jimmiet/images/8553474/original.aspx" width=595 mce_src="http://blogs.msdn.com/photos/jimmiet/images/8553474/original.aspx"&gt; &lt;/DIV&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8567657" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jimmiet/archive/tags/SharePoint/default.aspx">SharePoint</category><category domain="http://blogs.msdn.com/jimmiet/archive/tags/Site+Collection/default.aspx">Site Collection</category><category domain="http://blogs.msdn.com/jimmiet/archive/tags/URL/default.aspx">URL</category></item></channel></rss>