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 and unknown $system_path on second domain :-(

January 01, 2011 8:07am

Subscribe [3]
  • #1 / Jan 01, 2011 8:07am

    manimac

    8 posts

    Hi all! i have a classic newbie problem..
    i have bought two domain on the same host (register.it)
    each domain have basepath “/” so i dont have httpdocs or usr/bin/etc, just a trailing slash /
    so i can’t set MSM ‘cause i dont know the $system_path from my second domain to the primary domain where i’ve installed EE2.
    Also the hosting company dont say nothing about this!
    ..and they say it’s not a possible feature to know for clients the full server path!

    I try to put on my root of my second domain this code without success, he say always “/”:

    <?php
    $path = getcwd();
    echo "This Is Your Absolute Path: ";
    echo $path;
    ?>

    i have access only to php.ini
    it can help me with my issue?
    ..or I have other ways to set MSM ??

    please let me know if somebody can help me
    thank you!

    vito.

  • #2 / Jan 02, 2011 8:44am

    Greg Salt

    3988 posts

    Hi Vito,

    This sounds like you’ve purchased 2 separate hosting accounts where in fact you only need one but the second domain would need to be aliased to your first one - some hosts calls these addon or parked domains. Your hosting provider should have this facility available for you and should then be able to tell you whether an aliased domain can have its own subdirectory or path. Please contact them to check this.

    Cheers

    Greg

  • #3 / Jan 02, 2011 10:10am

    manimac

    8 posts

    thank you Greg, i’m waiting for an hosting provider answer..

    anyway in the hosting control panel i have access to the DNS configuration.
    I suppose i can alias my second domain to my primary domain witch EE is installed, it’s right?

  • #4 / Jan 04, 2011 1:48am

    John Henry Donovan

    12339 posts

    WeLive,

    I suppose i can alias my second domain to my primary domain witch EE is installed, it’s right?

    It will need to be aliased to it’s own folder within the primary domains structure and not to your primary domain specifically. The domains will have to exist within the same hosting account as Greg says.

    Let us know what your host says when they come back to you

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

ExpressionEngine News!

#eecms, #events, #releases