Extend a Web application to host the same content as another Web application

Applies To: Office SharePoint Server 2007

This Office product will reach end of support on October 10, 2017. To stay supported, you will need to upgrade. For more information, see , Resources to help you upgrade your Office 2007 servers and clients.


Topic Last Modified: 2008-01-16

Before you perform these procedures, confirm that:

Extending a Web application

Use the following procedures to extend a Web application to host the same content as another Web application.


At the minimum, you must be a member of the Farm Administrators SharePoint group to complete this procedure using the user interface.

Extend an existing Web application by using Central Administration

  1. In the SharePoint Central Administration Web site, on the Application Management page, in the SharePoint Web Application Management section, click Create or extend Web application.

  2. On the Create or Extend Web Application page, in the Adding a SharePoint Web Application section, click Extend an existing Web application.

  3. On the Extend Web Application to Another IIS Web Site page, in the Web Application section, click the Web application link and then click Change Web application.

  4. On the Select Web Application page, click the Web application you want to extend.

  5. On the Extend Web Application to Another IIS Web Site page, in the IIS Web Site section, you can select Use an existing IIS Web site to use a Web site that has already been created, or you can choose to leave Create a new IIS Web site selected. The Description, Port, and Path boxes are populated for either choice. You can choose to use the default entries, or you can type the information you want in the boxes.

  6. In the Security Configuration section, configure authentication and encryption for the extended Web application.

    1. In the Authentication Provider section, choose either Negotiate (Kerberos) or NTLM.


      To enable Kerberos authentication, you must perform additional configuration. For more information about authentication methods, see Plan authentication methods (Office SharePoint Server).

    2. In the Allow Anonymous section, choose Yes or No. If you choose to allow anonymous access, this enables anonymous access to the Web site by using the computer-specific anonymous access account (that is, IUSR_<computer name>).


      If you want users to be able to access any site content anonymously, you must enable anonymous access for the entire Web application. Later, site owners can configure how anonymous access is used within their sites. For more information about anonymous access, see Choose which security groups to use (Office SharePoint Server).

    3. In the Use Secure Sockets Layer (SSL) section, select Yes or No. If you choose to enable SSL for the Web site, you must configure SSL by requesting and installing an SSL certificate.


      If you use SSL, you must add the appropriate certificate on each server by using IIS administration tools. For more information about using SSL, see Plan for secure communication within a server farm (Office SharePoint Server).

  7. In the Load Balanced URL section, type the URL for the domain name for all sites that users will access in this Web application. This URL domain will be used in all links shown on pages within the Web application. By default, the text box is populated with the current server name and port.

  8. In the Load Balanced URL section, in the Zone box, select the zone for the extended Web application from the drop-down list. You can choose Intranet, Internet, Custom, or Extranet.

  9. Click OK to extend the Web application, or click Cancel to cancel the process and return to the Application Management page.


The account that you use to run the Stsadm command-line tool must be a member of the Administrators group on the local computer and must be a member of the following fixed server roles in SQL Server: dbcreator.

Extend a Web application by using the Stsadm command-line tool

  1. On the drive where SharePoint Products and Technologies is installed, open a command-line window and type the following command:

    cd %CommonProgramFiles%\Microsoft Shared\web server extensions\12\bin

  2. To extend a Web application, use the following command, including any options that apply to your environment:

    stsadm.exe -o extendvsinwebfarm -url <url> -vsname <Web application name> [-exclusivelyusentlm] [-apidname <application pool name>] [-apidtype {configurableid | NetworkService}] [-apidlogin <domain name\user name>] [-apidpwd <application pool identity password>] [-allowanonymous]

    For more information, see Extendvsinwebfarm.