SharePoint 2010 Part 3: How to create a Site Collection

This series is mainly targeted for developers.

  • Open “SharePoint 2010 Central Administration”
  • Select “Create Site Collections” as shown below

image

  • Customize as necessary

image

  • In the following screen, select “/” if you want site collection to be hosted at root of web application (usually, this is selected when we want only one site collection to be created). Select “/sites/”, if you want site collection to be hosted at “SharePointWebAppRoot/sites/” (you would need this if you want multiple site collections to be created as part of the same web application). I select “/” to host site collection at root of web application.

image

  • type user name and click on “check names” button to ensure that the user name is valid

image

  • Provide security and click on “Ok”

image

  • The site collection gets created

image

  • As I created site collection at root of web application (listening at port 10101), you can directly access it using “http://SharePointServerName:10101” and you should see the screen as follows:

image

  • You can also check the site collection details in database as shown below:

SELECT
SiteId AS SiteGuid,
Id AS WebGuid,
FullUrl AS Url,
Title,
TimeCreated
FROM dbo.Webs
WHERE (ParentWebId IS NULL)

image

Source:http://learndotnetprogramming.com

0 nhận xét:

Post a Comment

thanks comment