Using Power Shell we can create the web application easily.
Open the SharePoint Management Shell and run this command
$siteName = "DotnetSharePointSite"
$port = 23456
$url = "http://dotnetsharepoint"
$appPoolName = "DotnetSharePoint- 23456"
$managedAccount = "dotnetsharepoint\lakshmi"
$dbServer = "dotnetsharepoint"
$dbName = "DotNetSharePoint"
New-SPWebApplication -Name $siteName -Port $port -URL $url -ApplicationPool
$appPoolName -ApplicationPoolAccount (Get-SPManagedAccount "$managedAccount")
-DatabaseName $dbName -DatabaseServer $dbServer
SharePoint Online Real Time Training Contact: JLAKSHMITULASI@GMAIL.COM
Open the SharePoint Management Shell and run this command
$siteName = "DotnetSharePointSite"
$port = 23456
$url = "http://dotnetsharepoint"
$appPoolName = "DotnetSharePoint- 23456"
$managedAccount = "dotnetsharepoint\lakshmi"
$dbServer = "dotnetsharepoint"
$dbName = "DotNetSharePoint"
New-SPWebApplication -Name $siteName -Port $port -URL $url -ApplicationPool
$appPoolName -ApplicationPoolAccount (Get-SPManagedAccount "$managedAccount")
-DatabaseName $dbName -DatabaseServer $dbServer
SharePoint Online Real Time Training Contact: JLAKSHMITULASI@GMAIL.COM