Create a Web Application and Site Collection in SharePoint 2013 Preview

We first need to provision an account in Active Directory to be used as our service account Application pool id when provisioning our SharePoint 2013 web applications.  I have labelled it as sp_webapp but you can call it whatever you desire.  This is a standard domain user account with no additional privileges and will be the App pool id for content web apps. which we will provision later in this article.
In DNS we also need to create an A record entry for the fully qualified domain name of our web application.  I have labelled it as “intranet” and this will point to our SharePoint 2013 server.
To create our “A” record in DNS, navigate to our  Windows 2012 server which hosts the DNS server role and launch Server Manager and then click on Tools > DNS Manager. Expand your Forward Lookup Zones and create a new “A” record and enter “Intranet” as the Host Name and then enter the IP address of our SharePoint 2013 server.  Please note, we are adding a new “A” record and not a CNAME (Alias) record and the name could be anything.  I am using Intranet in this example.
image thumb Create a Web Application and Site Collection in SharePoint 2013 Preview sharepoint 2013 sharepoint

Creating our first SharePoint 2013 Web Application
Let’s begin by navigating to the SharePoint 2013 Central Administration > Application Management page.
image thumb1 Create a Web Application and Site Collection in SharePoint 2013 Preview sharepoint 2013 sharepoint
You will notice that the UI is fairly similar to that we have been accustomed to in SharePoint 2010.
image thumb2 Create a Web Application and Site Collection in SharePoint 2013 Preview sharepoint 2013 sharepoint
The first thing we need to do is create our first Web Application to host our Site Collections and its sub sites.
Under the heading “Web Applications” click on Manage web applications.
image thumb3 Create a Web Application and Site Collection in SharePoint 2013 Preview sharepoint 2013 sharepoint
Click on New
The below splash screen is unexpected from Microsoft, but it is notifying us in a somewhat candid way that the page is about to load.  I wonder if this will be deprecated in the final release of SharePoint 2013.
image thumb4 Create a Web Application and Site Collection in SharePoint 2013 Preview sharepoint 2013 sharepoint
You will finally be greeted with the all familiar “Create New Web Application” modal dialog window with a few subtle additions.  I will post separate screen captures depicting our settings as we scroll down the modal dialog box presented and will explain each of these settings in some detail.
image thumb5 Create a Web Application and Site Collection in SharePoint 2013 Preview sharepoint 2013 sharepoint
image thumb6 Create a Web Application and Site Collection in SharePoint 2013 Preview sharepoint 2013 sharepoint

image thumb7 Create a Web Application and Site Collection in SharePoint 2013 Preview sharepoint 2013 sharepoint
We will click on Register new managed account.  We will not be utilising the sp_farm account and register our sp_webapp domain account that we created earlier.
image thumb8 Create a Web Application and Site Collection in SharePoint 2013 Preview sharepoint 2013 sharepoint
Click OK
Unfortunately, after clicking OK, our previous entries made are erased (same behaviour in SharePoint 2010), so you will need to begin from the top again)
Ensure you have selected the sp_webapp account as your Application Pool ID.
Ensure your Database Name and Authentication method is correct.
image thumb9 Create a Web Application and Site Collection in SharePoint 2013 Preview sharepoint 2013 sharepoint

image thumb10 Create a Web Application and Site Collection in SharePoint 2013 Preview sharepoint 2013 sharepoint
IIS Web Site:
Create a new IIS web site
Name: SharePoint – intranet.corp.gkhalil.com (Always best practice to create a new IIS website for each new SharePoint Web Application.)
Port: 80
Host Header: Leave Blank or specify a preferred host header. (If you specify a host header, the alternate access mapping will be created for you automatically.  Please ensure that you also create the relevant A record in DNS. e.g. intranet.corp.gkhalil.com which we have done above.
Path: Leave default C:\inetpub\wwwroot\wss\VirtualDirectories\80 (This is usually determined by Port number and or Host Header Input)
Security Configuration
Allow Anonymous: No
Use Secure Sockets Layer (SSL): No
Claim Authentication Types
Enable Windows Authentication: Integrated Windows authentication (NTLM)
Sign in Page URL
Default Sign In Page – selected
Public URL: e.g. http://intranet.corp.gkhalil.com:80
Zone: Default
Application Pool
Create new Application pool: SharePoint -intranet.corp.gkhalil.com80
Configurable: CORP\sp_webapp (register the newly created service account as a managed account)
Database Name and Authentication
Specify your Database Server, Database Name and keep Windows authentication selected which is recommended.
Failover Server
This was first introduced in SharePoint 2010 providing you with the ability to specify a second SQL server that is participating in database mirroring, allowing you to easily failover if the primary SQL server fails. This was and still is a welcome addition providing a means of high availability.
Service Application Connections:
Edit the following group of connections: default
Note, SharePoint 2013 as was the case in SharePoint 2010 allows you to connect a web application to all service applications available in a farm or a subset that you define.  This can be changed at any time.
Customer Experience Improvement Program
Enable Customer Experience Improvement Program: Yes or No
Click OK

image thumb11 Create a Web Application and Site Collection in SharePoint 2013 Preview sharepoint 2013 sharepoint

image thumb12 Create a Web Application and Site Collection in SharePoint 2013 Preview sharepoint 2013 sharepoint
Click OK
Our newly created Web Application will now be listed along side our SharePoint Central Administration Web Application under Central Administration > Application Management > Manage web applications
image thumb13 Create a Web Application and Site Collection in SharePoint 2013 Preview sharepoint 2013 sharepoint

Creating our first SharePoint 2013 Site Collection
We are now ready to create our first site collection.  Navigate to Central Administration > Application Management > Create Site Collections
Ensure that the newly create Web Application is selected.
Enter a Title for your Site.
image thumb14 Create a Web Application and Site Collection in SharePoint 2013 Preview sharepoint 2013 sharepoint
Select your Template.  You will notice that there is a 2013 and 2010 Template experience version on offer.  I am selecting 2013 and the all so common Team Site.
Enter your primary and secondary site collection administrators
Then Click OK
image thumb15 Create a Web Application and Site Collection in SharePoint 2013 Preview sharepoint 2013 sharepoint

Our first site collection is up and running and as you can see from above, the procedure in doing so is identical to that in SharePoint 2010.
image thumb16 Create a Web Application and Site Collection in SharePoint 2013 Preview sharepoint 2013 sharepoint
Click OK.
You should now be able to successfully  navigate to your newly created  site, in my instance it is http://intranet.corp.gkhalil.com
NB: If you are constantly being prompted for credentials you will need to do two things.  Firstly, you will need to add the fully qualified domain name website to the Local Intranet zone by following this TechNet article.  Secondly, if you are accessing the site from the Server itself, doing the above alone will not fix your issue.  You will need to make a registry change following this TechNet article.  As best practice, I did not disable the loopback check and followed method 1 – Specify host names which is the preferred method if NTLM authentication is utilised.
That is it!  As you can see from the below screen shot of the Team Site Home page, there has definitely been some changes and enhancements made to the look and feel.
image thumb17 Create a Web Application and Site Collection in SharePoint 2013 Preview sharepoint 2013 sharepoint

No comments:

Post a Comment