locked
Duplicate site on same server RRS feed

  • Question

  • Using IIS 7.5 on Server 2008 R2 enterprise server with Exchanged 2010 installed.

    I need to create a duplicate site of the Default web site using a different app pool. I created the app pool already but I need to create a new site called ABC with the same settings and configurations as the Default Web site. The Default web site does contain several virtuial directories for exchange 2010. How can I export/import or create an exact copy of the default web site?  

    Tuesday, June 15, 2010 8:04 PM

Answers

  • Hi,
     
    You might try duplicating the default web site in the
    applicationHost.config file located in
     
    %systemdrive%\Windows\System32\inetsrv\config
     
    Note that you will have to change at least the Id of the site and the
    bindings, otherwise there may be issues with IIS trying to start. This
    is something I would definitely work with in a development environment
    or on your desktop (if it is Windows 7) before I made any sort of change
    to a production system, as this can easily mess up IIS. Also make good
    backups before you make any changes.
     
     

    -- Mike Burr
    • Marked as answer by Karen Ji Tuesday, June 22, 2010 6:12 AM
    Thursday, June 17, 2010 3:42 PM

All replies

  • Hi,
     
    You might try duplicating the default web site in the
    applicationHost.config file located in
     
    %systemdrive%\Windows\System32\inetsrv\config
     
    Note that you will have to change at least the Id of the site and the
    bindings, otherwise there may be issues with IIS trying to start. This
    is something I would definitely work with in a development environment
    or on your desktop (if it is Windows 7) before I made any sort of change
    to a production system, as this can easily mess up IIS. Also make good
    backups before you make any changes.
     
     

    -- Mike Burr
    • Marked as answer by Karen Ji Tuesday, June 22, 2010 6:12 AM
    Thursday, June 17, 2010 3:42 PM
  •  

    On July 1st  we will be making this forum read only. After receiving a lot of feedback from the community, it was decided that this forum is a duplication and therefore redundant of the Official Microsoft IIS Forums. So, until July 1st, we will start asking customers to redirect their questions to the Official Microsoft IIS Forums Forum.

     

    Please post a reply to the announcement thread if you have any feedback on this decision or the process. You can also email WSSDComm@microsoft.com.


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ” This posting is provided "AS IS" with no warranties, and confers no rights.
    Tuesday, June 22, 2010 6:11 AM