Problem Background: Created a new Site collection called “Integration” of collaboration portal template in a New Managed Path. After a while received a mail saying the site should be of Team Site template instead of collaboration portal! Huh.. There is no way to change the site collection template without deleting and re-creating it with a different template. Luckily, the site collection was created just a few minutes back!
So went ahead and deleted the site collection created and tried creating a new site collection from Central Administration >> Create Site Collection page. Oops, Could not find the managed path in the Managed Path drop-down!!
Verified that the Managed path is not used by any of the site collections, from the site collection List. Hmm… What to do? PowerShell? Stsadm? Yeah! Created the site collection with STSADM command line.
stsadm -o createsite -url https://Intranet.crescent.com/integration -owneremail [email protected] -ownerlogin “Global\salaudeen” -sitetemplate STS#0
And I’m done!
Stsadm Createsite operation Reference: https://technet.microsoft.com/en-us/library/cc262594%28v=office.12%29.aspx
If you want to create the new site collection in New Database use: Createsiteinnewdb switch: https://technet.microsoft.com/en-us/library/cc262407%28v=office.12%29.aspx