Was this page helpful?

Getting MindTouch to work with host headers in Windows

    Getting MindTouch to Work With Host Headers in Windows

    Using host headers allows you to have multiple sites running on one server. This guide details how to accomplish this with MindTouch running on either IIS 6 or IIS 7.

    Windows Server 2003 (IIS 6)

    Windows Server 2008 (IIS 7)

    Windows Server 2003 (IIS 6)

    Get Into MindTouch Website Properties

    =media_1223486221093.png
    1. In IIS, right click on the MindTouch website, and click Properties.

    Enter the Advanced Dialog Box

    =media_1223486484000.png
    1. In the Web Site tab, click Advanced.

    Enter Host Header Information

    =media_1223486634688.png
    1. If there is an identity for the website already present, click on it, and click Remove.
    2. Click Add.
    3. In the TCP port enter the port number (in most cases, this will be 80).
    4. Add the host header information. Make sure that you have a matching DNS entry; host headers are dependent upon incoming hostname information.
    5. Click OK, then Ok again. Repeat these steps for the other web site(s) on the server.

    Change Required Keys in LocalSettings.php

    =media_1223487857362.png
    1. Browse to your LocalSettings.php file (found by default at C:\Program Files\MindTouch\MindTouch\web). Change the $wgDBserver key to match your DNS and host header information.
    2. Change the $wgDreamServer key to match your DNS and host header information. Save the file, and restart IIS.

    Windows Server 2008 (IIS 7)

    Enter the MindTouch Bindings Dialog Box

    =media_1223490090820.png
    1. In the Internet Information Services (IIS) 7 Manager, right click the Mindtouch website, and click Edit Bindings....

    Select the Site Binding

    =media_1223490231235.png
    1. In the Site Bindings dialog box, click on the first entry.
    2. Click Edit.

    Enter Site Binding Information

    =media_1223490319814.png
    1. In the Host name box, enter your host header information. Make sure that you have a matching DNS entry; host headers are dependent upon incoming hostname information.
    2. Click OK, and then click Close. Repeat this step for the other website(s) on the server.

    Change Required Keys in LocalSettings.php

    =media_1223490646847.png
    1. Browse to your LocalSettings.php file (found by default at C:\Program Files\MindTouch\MindTouch\web). Change the $wgDBserver key to match your DNS and host header information.
    2. Change the $wgDreamServer key to match your DNS and host header information. Save the file, and restart IIS.
    Was this page helpful?
    Tag page

    Files 8

    FileVersionSizeModified 
    Viewing 1 of 1 comments: view all
    Need to update $wgDekiApi = "@api/deki". New installations have "@api" at the end of the domain listed in $wgDreamServer
    Posted 08:57, 11 Mar 2011
    Viewing 1 of 1 comments: view all
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by