SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using SharePointe 2010, and newbie with sharepoint. I am trying to create site collections by using powershell and c#. my client wants to have different urls for each site collection within same web application something like (, ....) is it possible? thanks

share|improve this question
I have tried using managed path, by using powershell like this: New-SPSite -Url $url -OwnerAlias $domainAnduser -Name $name -Template $template – Medes Sep 11 '12 at 15:18… I think this is what you're looking for. – RJ Cuthbertson Sep 11 '12 at 15:36
up vote 2 down vote accepted

To get what you're after (unique FQDN for each site collection in the same web application) in a supported manner you'll need to use host-named site collections (Plan for host-named site collections (SharePoint 2010)). In addition to the TechNet documentation, another great primer can be found at What Every SharePoint Admin Needs to Know About Host Named Site Collections.

share|improve this answer
Hi and thanks, I succeeded to created site collections with thier own content database. But now the problem is when I browse to them I have to log in. – Medes Sep 12 '12 at 9:47

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.