Question

I have a simple question just to remove my confusion. In one web application, can we create multiple root site collections ? I have 3 different custom web templates, and for each template, I want to create root site collection (3 root site collections in total). Is that possible ? Or I am wrong in my thinking. Please correct me ?

Was it helpful?

Solution

In one web application, can we create multiple root site collections ?

No, only one 'root' can exist, if you mean at the root of the URL i.e. http://domain.com/. You can create many more at http://domain.com/path/site1, http://domain.com/path/site2, etc. I just wanted to clarify the use of the word 'root'

OTHER TIPS

The accepted answer is not correct. You can create multiple root sites in one web application. Additionally, each root site does not have to have a url of www.domain.com/path/site1. Using Host Named Site Collections, each root site can have it's own sub domain name. If your company name is contoso, and you create a web application at webapp.contoso.com, You may have root sites at webapp.contoso.com and rootsite2.contoso.com.

So to answer the question "I have 3 different custom web templates, and for each template, I want to create root site collection (3 root site collections in total). Is that possible ?"

Yes.

Yes,

You can have three different site collections based on three different templates. It doesn't matter if they are based on custom templates or not.

In a web application you can create

750,000 (500,000 Personal Sites and 250,000 other sites per farm)

The maximum recommended number of site collections per farm is 500,000 Personal Sites plus 250,000 for all other site templates. The Sites can all reside on one web application, or can be distributed across multiple web applications.

Source

Check these topologies recommended by Microsoft, if you are planning to design a SharePoint farm.

SharePoint 2010 Topologies examples

enter image description here

I think several terms may have been convolved here. A webapp is comprised of 0 or more site collections (0 would be fundamentally useless.) A site collection is comprised of 1 root site and 0 or more subsites*. A root site is just like a subsite except for 2 special properties.

  1. It does not have a parent site, hence the term root.
  2. It is the place where site collection settings such as site collection admins and site collection features are configured.

As such, it wouldn't make sense to have multiple root sites in a site collection, but it's perfectly fine to have many site collections (each with their own root sites) inside a webapp. In fact, this is exactly how the mysites functionality works! Each user's site is its own site collection with settings and subsites.

*Please remember that Powershell tends to call site collections "sites" and sites in the webUI are called "webs" in Powershell. I don't know why, but it's very confusing to me.

Actually I am pretty sure the first poster who answered was correct. The original question said "root site collection." He didn't say root domain name. Although as pointed out, he didn't mention the new host-named site collection feature that Microsoft is pushing.

I believe you can only have one root site collection in a Web Application. (Not Zero or >1 like has been suggested) SharePoint creates it as a path-based site collection with the same name as the Web Application.

You can then create path-based (acme.sharepoint.com/sites/sales) or host-named site collections (sales.acme.sharepoint.com) but in terms of hierarchy there must and can only be one root path-based site collection per Web Application.

Citation:

http://technet.microsoft.com/en-us/library/cc424952(v=office.15).aspx#section2b

Robert - That is not a functioning SharePoint Web Application.

Microsoft doesn't consider it a Web Application according to the article I cited. It is perhaps an incomplete Web Application. "A root site collection is a requirement for any Web application." - article cited above

To emphasize a prior point, note you cannot create a host-named site collection in Robert's example prior to creating a path-based root site collection with the same name as the web application.

You are correct in one web Application you can have multiple site collections.

Webapplication Structure

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top