ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

MSM Installation

July 28, 2010 8:35pm

Subscribe [4]
  • #1 / Jul 28, 2010 8:35pm

    hospitality

    19 posts

    Hi,

    I just installed MSM on my current EE 1.6.9 and followed the instructions as far as I understood. However, when I browse to the added site I get to see a page starting with Index of / .... and then a couple of folders are mentioned.

    So far I did the following:
    1) installed the MSM add-on
    2) created site B (entered site label and short name but did not import or copy over anything)
    3) changed system preferences and created template group and dummy index template
    4) created a sub directory besides the system dir and copied over the .index.php and path.php from the root. Changed the settings in the path.php to point to the new url

    Am I missing a step here like updating the .htaccess file?

    Regards,
    Tammo

  • #2 / Jul 28, 2010 9:29pm

    Brandon Jones

    5500 posts

    Tammo,

    The link you’ve provided shows that there’s no index.php or path.php file in that directory. Check your server setup and be sure the document root for that domain matches the directory where you’ve put these two files.

  • #3 / Jul 29, 2010 1:22pm

    hospitality

    19 posts

    Thanks, that makes sense. I have a dedicated server running on CPanel and I had created a new account for the domain. I guess it creates the document root by default under /home. Unfortunately, I don’t see any option to change the document root. Guess I need to do some searching and see if I can change it somewhere.

    Cheers,
    Tammo

  • #4 / Jul 29, 2010 5:31pm

    Ingmar

    29245 posts

    Sounds good. Let us know in case there’s anything else we can do for you.

  • #5 / Jul 30, 2010 4:22pm

    hospitality

    19 posts

    Well, I am unfortunately not getting very far. As I couldn’t find a way in WHM (Cpanel) to change the document root I asked my host provider to do this for me. Now the document root is set to one of the folders next to the system folder of domainA:

    domainA\system folder
    domainA\root folder domainB

    The root folder domainB now also contains the index.php or path.php files but still no result.

    The path.php of DomainB contains the following:

    <?php
    
    // ------------------------------------------------------
    // DO NOT ALTER THIS FILE UNLESS YOU HAVE A REASON TO
    
    // ------------------------------------------------------
    // Path to the directory containing your backend files
    
    $system_path = "./system/";
    
    // ------------------------------------------------------
    // MANUALLY CONFIGURABLE VARIABLES
    // See user guide for more information
    // ------------------------------------------------------
    
    $site_name = "cruise_industrycom";
    $template_group = "";
    $template = "";
    $site_url = "http://cruise-industry.com";
    $site_index = "";
    $site_404 = "";
    $global_vars = array(); // This array must be associative
    
    ?>

    I am not sure what to do next and would really like to see MSM working so any help is welcome here 😊

    Cheers!
    Tammo

  • #6 / Jul 30, 2010 4:22pm

    hospitality

    19 posts

    Well, I just got a message from my host that they have incorrectly configured my request. I just confirmed what I wanted, fingers crossed they can help me out.

  • #7 / Jul 30, 2010 7:38pm

    Brandon Jones

    5500 posts

    OK, keep us posted. If your paths are like:

    /siteA/system
    /siteA/siteBroot

    Then path.php in siteBroot needs to say

    $system_path = "../system/";

    Meaning ‘back one to SiteA, and then to system’.

  • #8 / Jul 30, 2010 8:36pm

    hospitality

    19 posts

    Hi,

    I got it working, thanks for the hint on the system path.

    Just for those using WHM, I started with creating a separate account which was wrong. I actually had to add SiteB, by using the Addon Domain function, to SiteA. You can do so by:

    1) Login to Cpanel with your primary account (siteA)
    2) Go to Addon Domains
    3) Complete the form with:
    - New Domain Name: that would be siteB.com
    - Subdomain/Ftp Username: Could be something like siteB
    - Document Root: point to the folder next to the system folder > /siteA/siteBroot
    - Password: enter your password

    Note that you may have to permission your primary account to allow adding domains, do so by: login to WHM >> Account Functions >> modify an account. And allow 1,2,3, etc. addon domains

    Also, if your domain is registered at a different company then you have to point the IP address and the name servers of the domain to your host server.

    Thank you again for the help.

    Regards,
    Tammo

  • #9 / Jul 31, 2010 5:16pm

    Greg Salt

    3988 posts

    Hi Tammo,

    Glad that you got this resolved and thanks for the detailed cPanel/WHM instructions!

    Cheers

    Greg

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases