This series is mainly targeted for developers.
- Open “SharePoint 2010 Central Administration”
- Select “Create Site Collections” as shown below
- Customize as necessary
- 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.
- type user name and click on “check names” button to ensure that the user name is valid
- Provide security and click on “Ok”
- The site collection gets created
- 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:
- 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)
Source:http://learndotnetprogramming.com
0 nhận xét:
Post a Comment
thanks comment