Try Now
More in this section

Forums / Set-up & Installation / Change Default Web Site for Virtual Directories

Change Default Web Site for Virtual Directories

2 posts, 0 answered
  1. Derrick
    Derrick  avatar
    1 posts
    31 Jan 2008
    31 Jan 2008
    Link to this post
    Hello, I would like to change the default Web Site for which Sitefinity creates virtual directories under in IIS.  How do I tell Sitefinity to use a different Web Site? 


    Derrick Ward
  2. Sonya
    Sonya avatar
    231 posts
    24 Sep 2012
    01 Feb 2008
    Link to this post
    Hi Derrick ,

    The Sitefinity installer looks for the default IIS site (Default Web Site w3svc/1/root) to install the virtual directories. If that site is stopped or does not exist, it would fail in creating the virtual directories.

    However, there is a way to change this if you edit the MetaBase.xml which is the actual XML file that contains IIS configuration settings. Here is how to tell the installer to create the virtual directories under a website called "My Test":

    1. Open the %SystemRoot%\System32\Inetsrv\MetaBase.xml file and in the respective IIsWebServer element, notice the number similar to the one in red below. Copy this number.
    <IIsWebServer    Location ="/LM/W3SVC/859801432"
    ServerComment="My Test"
    2. Open the /telerik/Sitefinity3.1/ProjectManager/Web.Config file and in the <appSettings> section, add this:
    <add key="rootSubPath" value="/W3SVC/859801432/Root" />
    4. Restart IIS and create your Sitefinity project.

    Hope this helps.

    Kind regards,
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
2 posts, 0 answered