Extend web application in SharePoint 2013 (using PowerShell and Central Administration)
Check out Best Alternative to InfoPath -> Try Now
SharePoint 2016 Tutorial Contents
In any SharePoint web application, we could see 2 types of users Internal or External. If we want to collaborate on the SharePoint site with both Internal and External users the best approach from Microsoft is Extend the Web Application.
Note: When you extend the Web Application SharePoint creates only a new IIS site in Application Pool and connects with the same content database.
In an organization, we have 2 verticals Finance and BPO. If we need to share the same SharePoint web application between verticals without breaking the permissions! The best way is Extending Web Application.
In this article, we are going to learn how to extend a web application in both
- SharePoint Central Administration
- PowerShell Commands
Follow the below steps to extend a web application in SharePoint 2013 through Central Administration.
Log-on to Application Server with a FARM administrator account. Select the required web application under Manage Web Applications. From SharePoint Central Administration -> Application Management -> Manage Web Applications.
Click on Extend option as part ribbon control to extend the web application
Provide all the details of a new extending web application in the model dialogue window.
Note: In this model dialogue window do can’t see the below option which you see while creating a new web application as they carry forward from the original Web Application.
- Database server name
- Failover DB server name
- Application services
Once you provide all the details click on OK at the end of model dialogue window to create the extended web application.
Log-On to the Application server with a FARM administrator account
Open SharePoint 2013 Management Shell with a FARM administrator account
Run the below command to extend the desired web application
$ap = New-SPAuthenticationProvider -ASPNETRoleProviderName roleprovidername -ASPNETMembershipProvider membershipprovidername Get-SPWebApplication -Identity <Existing Web Application> | New-SPWebApplicationExtension -Name <Web Application Name> -HostHeader <HostHeader> -Zone <Zone> -URL <URL> -Port <Port> -AuthenticationProvider $ap Parameters: <Name> is the name of the new IIS web site in the web application. – Mandatory <HostHeader> is the hostname assigned to this zone of the web application. – Optional <Zone> is the zone with which this new extension is to be associated. – Mandatory <URL> is the public URL for this web application zone. – Mandatory <Port> is the port on which this zone of the web application can be accessed. – Mandatory
$ap = New-SPAuthenticationProvider -ASPNETRoleProviderName roleprovidername -ASPNETMembershipProvider membershipprovidername Get-SPWebApplication -Identity http://contoso.sales.com | New-SPWebApplicationExtension -Name IntranetSite -Zone Intranet -URL http://intranet.conoso.sales.com -Port 9876 -AuthenticationProvider $ap
You may like following SharePoint web application tutorials:
- Delete Hidden Web Application in SharePoint 2013 using PowerShell
- Check Anonymous access for all web applications in SharePoint
- Manage Web Application Settings in SharePoint 2013
- Comparing a Web Application and Site Collection limits in SharePoint 2016 with SharePoint 2013 2010 2007
- Get content database sizes for all web applications in a SharePoint farm using PowerShell
- Get all Sites and subsites under web application using PowerShell in SharePoint 2013
- SharePoint 2016 Create a web application and a site collection using PowerShell
- Find larger files inside web application in SharePoint using PowerShell
- Create web application using PowerShell in SharePoint 2013/2016
- Create Web Application and Site Collection in SharePoint 2013/2016
- add an app page showing loading SharePoint 2013/2016/Online
Tags: extending web application sharepoint 2013, extending web application sharepoint 2016, extending web application sharepoint 2010, sharepoint 2013 extend web application, sharepoint 2016 extend web application, PowerShell extend web application sharepoint 2013, sharepoint 2013 extend web application ssl, sharepoint 2013 extend web application extranet
Enjoy administration in SharePoint 2013 !!!
SharePoint Online FREE Training
JOIN a FREE SharePoint Video Course (3 Part Video Series)