Skip Ribbon Commands
Skip to main content
Sign In
SharePoint Program Manager, Infrastructure
Zach Rosenfield's SharePoint Blog > Posts > SharePoint 101: What’s a Host Header Site Collection?
May 27
SharePoint 101: What’s a Host Header Site Collection?

I often get asked to differentiate the different ways to configure URLs for site collections—most often how Host Header (HH) Site Collections fit into the mix—so I thought I’d try to disambiguate this for everyone.  In the simplest explanation, there are three types of Site Collections:

 

·    Load-Balanced URL web application:   A single root URL that is shared amongst all contained site collections.  For example, you could have http://sharepoint, http://my, or http://teams.  There is one root site collection (matches web application URL) and additional site collections can be created at Managed Paths under this URL (http://sharepoint/sites/zach).

·    Host header web applications: Similar to a load-balanced URL web application, except the URLs all use a single host header (e.g.: http://www.foo.com).

·    Host Header Site Collection: These are site collections that each have their own unique host header. For example, http://foo.com and http://bar.com.  These sites are by far the easiest to rename—use STSADM –o RenameSite to change a HH Site Collection host header.  These site collections must still be hosted in a web application—but the Web App URL or Host Header is ignored for these sites.

 

While host header site collections give the most flexibility for offering multiple unique FQDNs, there are some limitations:

 

·    Only 1 site collection can use a unique Host Header

·    Managed Paths do no work

·    AAMs are not used as part of site lookup for HH Site Collections, so URL re-writing will not work

·    SSL Termination at the load balancer will not work  (due to lack of AAM support)

 

It’s important to note that Host Header Site Collections can only be created from the command line—in the STSADM command createsite, provide the Host Header for the SPSite in the URL parameter and then provide the url of the web application that will host the HH Site Collection.   The good news is that for those of you familiar with previous versions of SharePoint, there is no longer a “Host Header Mode”; HH Site Collections can be created at anytime on existing web applications.

Comments

Host Header Stie Collections have many issues.

Host Header based site collections have tons of issues including defects around blob caching, backup/restore/etc.  I strongly caution against clients using them.
 on 5/29/2009 6:52 PM

Re: Host Header Site Collections have many issues. 

Thanks for pointing this out!

I should caveat my post--there are definitely issues with Host Header sites in the RTM version of WSS v3.0/MOSS 2007.  Please make sure you're on the latest Cumulative Update and Service Packs to avoid these problems.
Zach (SharePoint - MSFT)No presence information on 8/18/2009 11:25 AM

Hmm

So can you update this for SharePoint 2010 and site id's and subscriptions?  Thanks.
 on 5/26/2010 11:31 AM

Automated Installation of  Sharepoint 2010

Is it possible to write a scripts...
that automated all installation (DB/SP2010/Language pack etc) of share point 2010 and make is easier installation of customer and developer...

If possible then confirm me ... i will do it...
 
mail me : pintumca@yahoo.co.in
 on 10/5/2010 12:19 AM

host header site collections

i am trying to create a host header site collection using createsite but it is not working, what could i be missing? i even tried restarting iis after creating the site collection. it gets listed under the web app in site collection list but i am not able to access the site.....
 on 2/28/2011 12:52 AM

Hi

Can we set hostheader to existing sitecollection using power sell command.
 on 1/23/2012 7:28 AM

Add Comment

Items on this list require content approval. Your submission will not appear in public views until approved by someone with proper rights. More information on content approval.

Title


Comments *


Name (required) *


Human Test


Checking if you're human: enter "1234" (no quotes)

Attachments