Friday, June 24, 2016

Creating new HOSTNAME BASED SITECOLLECTION In SharePoint 2010

Creating new HOST NAME BASED SITECOLLECTION In SharePoint 2010

Step1:


New-SPSite -url http://contoso.customer1.com -HostHeaderWebApplication http://webapplicationname/    -Name "TestingDemoApp" -Template sts#0 -OwnerAlias  Domain Name \UserName

New-SPSite -url http://contoso.customer2.com -HostHeaderWebApplication http://webapplicationname/     -Name "Testing Demo App 2 " -Template sts#0 -OwnerAlias  Domain Name\UserName

Step2: 

Include the newly created Site Collection details in the Bindings section of IIS.

That's Now you can able to access the newly created Host Name Based Site collections.