When creating a web application, you will need to determine what kind of authentication you will be using. Due to the configuration of the network you might need to create a classic mode web applications on occasion. This cannot be done via the Central Administration UI. You must use PowerShell. You can do this by following these steps.
- Open up the “SharePoint 2013 Management Shell” on one of the application servers using “run as administrator” (make sure you are using the farm account due to the need to create databases and web sites).
- Type the following command to create the web application (modifying the port number, name and application pool as necessary. If you put in a name for an application pool that does not exist, then it will be created.)
New-SPWebApplication -Name “SharePoint 5555” -ApplicationPool “SharePoint – 5555” -ApplicationPoolAccount “<farm account>” -AuthenticationMethod “NTLM” -Port 5555 -URL <front end server>
- This method creates a content database with a GUID appended to it. If you want to specify the content database name then you need to add the following command line option.
-DatabaseName <Name of database>
Example: -DatabaseName “SharePoint_Data”