Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Mar 2014
    Posts
    3
    Plugin Contributions
    0

    Default Re: Multiple stores on same web hosting

    Quote Originally Posted by DrByte View Post
    If you run zc_install from http://domain2.com/zc_install/index.php then it'll build the correct configure.php contents for you.
    for domain2.com, i only purchase the domain name without any hosting, so i can't run the zen cart install
    those 2 zen cart stores have already been installed to domain1.com and domain1.com/subfolder
    now i need modify the configure file

    do you mean i should modify the configure file of domain1.com/subfolder like below?

    define('HTTP_SERVER', 'http://www.domain2.com');
    define('HTTPS_SERVER', 'https://www.domain2.com');
    define('DIR_WS_CATALOG', '/subfolder/');
    define('DIR_WS_HTTPS_CATALOG', '/subfolder/');
    define('DIR_FS_CATALOG', '/... html/subfolder');
    define('DIR_FS_LOGS', '/... html/subfolder/logs');
    define('DIR_FS_SQL_CACHE', '/... html/subfolder/cache');

  2. #2
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: Multiple stores on same web hosting

    Quote Originally Posted by myzc View Post
    for domain2.com, i only purchase the domain name without any hosting, so i can't run the zen cart install
    those 2 zen cart stores have already been installed to domain1.com and domain1.com/subfolder
    now i need modify the configure file

    do you mean i should modify the configure file of domain1.com/subfolder like below?

    define('HTTP_SERVER', 'http://www.domain2.com');
    define('HTTPS_SERVER', 'https://www.domain2.com');
    define('DIR_WS_CATALOG', '/subfolder/');
    define('DIR_WS_HTTPS_CATALOG', '/subfolder/');
    define('DIR_FS_CATALOG', '/... html/subfolder');
    define('DIR_FS_LOGS', '/... html/subfolder/logs');
    define('DIR_FS_SQL_CACHE', '/... html/subfolder/cache');
    No, DrByte meant what he said. Place/restore the zc_install folder in the domain1.com/subfolder and access domain2.com/zc_install/index.php...

    If you are saying that you can't access domain2.com, then you've been duped.

    Hosting has been taken care of by your first domain that is "housing" your second domain.


    It really will be easier for the install to provide a correct configure.php file than to troubleshoot your existing. In fact I believe I see at least one error in the values provided, but it is much easier/better if the install takes care of it for you.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Mar 2014
    Posts
    3
    Plugin Contributions
    0

    Default Re: Multiple stores on same web hosting

    the two stores have been installed, then i purchased domain2.com
    it's hard to reinstall the store cause these two stores are live stores
    so i just want to modify the configure.php to make this done

    perhaps the following code is correct ?

    define('HTTP_SERVER', 'http://www.domain2.com');
    define('HTTPS_SERVER', 'https://www.domain2.com');
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_CATALOG', '/');
    define('DIR_FS_CATALOG', '/... html/subfolder');
    define('DIR_FS_LOGS', '/... html/subfolder/logs');
    define('DIR_FS_SQL_CACHE', '/... html/subfolder/cache');

  4. #4
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: Multiple stores on same web hosting

    Quote Originally Posted by myzc View Post
    the two stores have been installed, then i purchased domain2.com
    it's hard to reinstall the store cause these two stores are live stores
    so i just want to modify the configure.php to make this done

    perhaps the following code is correct ?

    define('HTTP_SERVER', 'http://www.domain2.com');
    define('HTTPS_SERVER', 'https://www.domain2.com');
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_CATALOG', '/');
    define('DIR_FS_CATALOG', '/... html/subfolder');
    define('DIR_FS_LOGS', '/... html/subfolder/logs');
    define('DIR_FS_SQL_CACHE', '/... html/subfolder/cache');
    Fs_Catalog must end with a /, but yeah. And domain2 should be pointing to your subdirectory not to domain1.

    If you follow the instructions in the FAQ, your downtime should be a few minutes as you make the final transfers and a quick test to validate the data is present. ZC staff have worked hard to minimize potential outages as a result of upgrading/transferring.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 

Similar Threads

  1. Multiple Stores - Same Users and Passwords ( replication )
    By solo_400 in forum General Questions
    Replies: 1
    Last Post: 23 Aug 2013, 11:29 AM
  2. web hosting - canceled GoDaddy hosting
    By ebho5100 in forum General Questions
    Replies: 3
    Last Post: 25 Jun 2011, 10:32 AM
  3. multiple stores same database?
    By heimskr75 in forum General Questions
    Replies: 4
    Last Post: 16 Jan 2008, 03:19 PM
  4. Replies: 3
    Last Post: 29 May 2006, 04:18 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg