Quantcast
Viewing all articles
Browse latest Browse all 21070

RootSite and HNSC in SharePoint 2013

I was reading this TechNet article (http://technet.microsoft.com/en-us/library/cc424952.aspx) about Host-named site collection architecture and deployment and in reading it mentions that you need a root site in able to index content within the web application.  It then goes on to tell you how to create a root site collection but it looks no different than creating a normal HNSC.  Is there something specific that makes it a root site compared to any other HSNC you are creating?

Creating a root site collection:

New-SPSite 'http://rootsite.contoso.com' -HostHeaderWebApplication 'http://webapp.contoso.com' -Name 'Portal' -Description 'Portal on root' -OwnerAlias 'contoso\administrator' -language 1033 -Template 'STS#0'

Creating a HNSC:

New-SPSite 'http://portal.contoso.com' -HostHeaderWebApplication 'http://webapp.contoso.com' -Name 'Portal' -Description 'Customer root' -OwnerAlias 'contoso\administrator' -language 1033 -Template 'STS#0'

The only difference between the two is the URL for the site.  Am I missing something or is whatever the first site collection created considered the root site when using all HSNC?

Thanks,

Wes


Viewing all articles
Browse latest Browse all 21070

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>