Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6324001
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T16:37:34+00:00 2026-05-24T16:37:34+00:00

I am setting up a second site using MSM in EE2. I have followed

  • 0

I am setting up a second site using MSM in EE2. I have followed the instructions from EE but I keep getting the following error when I try to access the home page in the 2nd site:

Your system folder path does not appear to be set correctly. Please
open the following file and correct this: index.php

The second site is set as sub-domain as follows:

main site: http://174.121.46.122/~flowerwo/

sub-domain: http://174.121.46.122/~plants/

I have tried a server path and a url with no success:

$system_path = ‘/home/domain/public_html/system/’;

I could use some help on this. Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T16:37:35+00:00Added an answer on May 24, 2026 at 4:37 pm

    ExpressionEngine’s MSM (Multiple Site Manager) works best using virtual domains or subdomains served off the same server.

    The value for your $system_path variable will depend where on how you have the second domain’s files relative to the first domain.

    For example, if your directory structure looked like this:

    └── domain1.com
        ├── admin.php
        ├── index.php
        ├── images
        ├── system
        └── themes
    └── domain2.com
        ├── admin.php
        └── index.php
    

    Then you could set your $system_path variable for domain2.com as:

    $system_path = '../domain1.com/system/';
    

    Your setup is slightly different, since you appear to be using Apache’s UserDir Module for your domains instead of VirtualHost Directives.

    I don’t have any experience with this rather odd setup, but you may just need to adjust a few settings in your second domain’s admin.php and index.php files:

    $system_path = '../flowerwo/system/';
    $assign_to_config['site_name'] = 'plants';
    $assign_to_config['site_url']  = 'http://174.121.46.122/~plants/';
    $assign_to_config['cp_url'] = 'http://174.121.46.122/~plants/admin.php';
    

    The value can either be relative or absolute from your ExpressionEngine system folder, though some servers may require a full, absolute path.


    If you want a bulletproof way of determining the server path for each of your MSM domains, upload a simple PHP file named phpinfo.php into the root of each domain:

    <?php phpinfo(); ?>
    

    Load the page in your browser and look for the following variable:

    _SERVER["SCRIPT_FILENAME"]
    

    The value of that variable will be the full path to your PHP Info script:

    /home/domain/public_html/phpinfo.php
    

    Remove the phpinfo.php part, add in the name of your system folder, system, and that will be the path to your MSM domain:

    /home/domain/public_html/system
    

    If ExpressionEngine still has problems, you might want to see if your server has any PHP open_basedir or PHP SafeMode restrictions in place (these settings will be determined by your web host).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Setting onchange event for CheckBoxList using the following code doesn't work. chkListUserGroup.Attributes.Add(onchange, document.forms[0].isRecordModified.value='true';); How
I have been using the following preload script to load all the images and
I've followed the EnigmaCurry instructions for setting up a good python IDE in emacs.
I am following the instructions on the page- http://guides.macrumors.com/Installing_LaTeX_on_a_Mac I tried setting up tex
In my app I have a background task (using AsyncTask) that downloads stuff from
I'm using MGTwitterEngine and OAuthConsumer frameworks. And mostly following the instructions at UsingOAuthConsumer .
Setting up an integration server, I’m in doubt about the best approach regarding using
Setting up ASP.net MVC with Linq2SQL or Entity Framework's context to have scaffolding work
Setting a Magento store for a winery. They well bottles of wine, but you
I'm using ASP.NET Session State to keep track of logged in users on my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.