Tuesday 16 October 2012

Creating your first SharePoint 2010 site


To create a Web application, you must be a member of the Administrators group on the farm and the local machine running the SharePoint 2010 Central Administration.

Creating the Web application


A Web application consists of a IIS (Internet Information Services) website

each may combine one or more site collections that you create. The first step is to create a Web application.

Open the SharePoint 2010 Central Administration:


In the Application Management section, click the Manage web applications link. The page lists the referenced web applications on the server. For a basic installation, you have two:
  • The default site: SharePoint - 80
  • The administration site: SharePoint Central Administration v4


Click theNew button in the toolbar to open the creation form:


Regulars of SharePoint 2007 will notice that this form has many similarities to the functional level. By cons, level design, opening in a layer shows a part of the efforts made by Microsoft to improve the ergonomics of the product.


Authentication


The authentication section offers a choice between two types of authentication:
  • Claims Based Authentication
  • Classic Mode Authentication
The default choice is Classic Mode Authentication, a classic Windows authentication. The authentication type Claims Based Authentication aims to make it simpler authentication through systems such as Active Directory and provide Sinsgle-Sign-On methods for applications based on shared environment or Cloud.
We will choose the default authentication type Classic Mode Authentication to our new web application.

IIS Web Site


This section allows you to specify the details of your new Web application as it will be in IIS.
You can use an existing IIS Web site or create a new completely dependent from others. Choose to create a new IIS Web site and name it the SandBox.
Change the value of Port field by 80.
Specify in the Host Header filed the value www.sandbox.priv.
You can leave the default value for the Path field: C:\inetpub\wwwroot\wss\VirtualDirectories\www.sandbox.priv80

Security Configuration


This section presents three options to configure.
The first is the authentication provider (Authentication provider), you can choose between values Negotiate (Kerberos) and NTLM. The latter is the default choice of the form. The choice of the authentication provider will depend on your infrastructure, in our case, a single server without Active Directory, we will use the NTLMprovider.
The second option allows you to enable or disable anonymous access on the site. If you choose to allow anonymous access, access will be using the machine specific anonymous access account IUSR. Site administrators can configure the use of anonymous access to their sites. If anonymous access is not permitted at the Web application, it will not be at the site. For this article, we choose No.
The third and final option is to specify whether SSL is used. If you want to enable SSL on your Web application, you must configure IIS more finely ( How to configure SSL on IIS7).

Public URL


In this section, enter the URL of the web application. It will be used as a base in the links on the pages in this zone of Web application. The default URL is the name and port of the current server, it's automatically updated according to the SSL settings, header host and port number defined on the form.
The value of the Zone field is automatically defined on Default. The zone can be changed when you extend a Web application.

Application Pool


Each Web application is represented by a different IIS Web site with a unique application pool or a shared one. This section lets you specify whether you want to use an existing application pool or create a new one. We choose to create a new application pool named SandBox.
When creating a new application pool, you must specify the user who executes it. This choice is important because this account must have permissions to access different parts of the server. You can create a specific user or select an existing one. We choose Predefined and the Network Service account.

Database Name and Authentication


When you create a Web application, you also create a database of content and set the authentication method used to connect to the database. This section allows you to choose the database server to use, by default, the SQL server which is running the administration is selected in the Database Server field.
The Database Name field is the name of the database to be created on the SQL server. By default, the name is a GUID prefixed by WSS_Content_. We will name it SandBox.
This section also lets you set the authentication method used for the Web application connects to SQL server. There are two options: Windows authentication (recommended) andSQL authentication. The Windows authentication method is recommended because the login information is sent encrypted to the SQL server. The account used will be the application pool. This implies that the user running the application pool for Web application can access to SQL server.

Failover Server


This section allows you to specify a mirror SQL server. In case of problem on the SQL server, queries are sent to the following. The authentication method and the account used for this mirror server will be the same settings as the principal server.

Search Server


This section allows you to specify the search server used. It's set to use the SharePoint Server search.

Service Application Connections


In this section, select the connections to the service application will be available for the Web application. From the dropdown menu, choose default or [custom]. The [custom] option lets you choose the connections to the service applications that you want to use for the Web application. The default is to make available all services.
We will choose the default option in this section.

Customer Experience Improvement Program


In this section, simply click Yes or No to specify whether you want to participate in the CEIP (Customer Experience Improvement Program) program.


The configuration is now complete, click OK to validate the creation of the Web application. When the creation process is completed, you receive a confirmation message:

You can go to IIS to see the new IIS Web site and on your SQL server to verify the creation of the new database:


 After creating a Web Application in SharePoint, the web site is actually not created yet. It means if you try to access the Web Application using the web app url, it will show you "Page cannot be displayed" error. Basically at this point of time, a web application has been created and all the mandatory configuration has been done. Now the next step is to create a Site Collection using a particular Site Definition, then only the actual site will be created and you will be able to access the site using the url of Site Collection.

Creating the site collection


To create a new site collection, you can either click on the Create Site Collection link in the message confirming the creation of a new Web application, or click the Create Site Collections link from the Application Management section on the homepage of the central administration.
The form for creating a site collection is very similar to SharePoint 2007:


Web Application


This section allows you to specify on whichWeb application the new site collection will be created. We choose the application you created earlier.

Title and Description


You can specify the title of the collection sites and give a description.

Web Site Address


This section allows you to specify the base folder of the site collection, it can be the root folder or the folder sites. There can be only one site collection to the root of a Web application, then others will be on the folder sites.

Template Selection


The site template defines the basic functionality will be enabled. This choice depends greatly on the type of project to be realized. We choose Publishing Portal under the tabPublishing. This is a site template including workflow features for publishing content.

Primary Site Collection Administrator


Here you must specify a user (you can not specify a group) as the administrator of the collection site. We choose the server administrator.

Secondary Site Collection Administrator


Comme l'option précédente, cette section permet de définir un second administrateur pour la collection de site. Ce champ est facultatif et nous le laisserons vide.
Like the previous option, this section allows administrator to define a second site collection administrator. This field is optional and we leave it empty.

Quota Template


This last section allows you to specify a quota for the site collection.


Click the OK button to begin creating the site collection.

After you have updated your DNS or Host file, you should be able to access the site via its URLhttp://www.sandbox.priv:

No comments:

Post a Comment