title: Can't create a site collection through SharePoint Managment Shell for SharePoint 2010
body: <p>I tried to run the same commands as in here -<a href="https://technet.microsoft.com/en-us/library/cc263165(v=office.14).aspx" rel="nofollow noreferrer">https://technet.microsoft.com/en-us/library/cc263165(v=office.14).aspx</a> .</p>
  
  <pre><code> $template = Get-SPWebTemplate "STS#0"
  New-SPSite -Url "http://web-application-name/sitecollection1" -OwnerAlias "domain\administrator" -Template $template
  </code></pre>
  
  <p>I am getting the following error:
  <em>New-SPSite : A site collection could not be created as the provided managed pat
  h does not exist.  Change the URL to use an existing managed path or create the
   missing managed path prior to calling this command.</em></p>
  
  <p>What does this error mean? What am i missing?</p>