Is this possible:

Main Website A: www.domain.com

Website B: www.second-domain.com/sitefolder

We need a second website to work on different domain's sub folder. Both sites are on the same server. I know it's possible to use another domain for second website, but is the folder doable?

  • You can update the url rows in core_config_data (within the second domain's db) to include the folder, just make sure you include the trailing slash www.second-domain.com/sitefolder/
    – MW Millar
    Oct 30, 2015 at 13:05
  • Second domain's database? I mean to use one Magento installation and currently we have the second website (within the same magento installation) on sub folder of the same domain. Now we need to transfer that second website to another domain's subfolder and I need to know if that works.
    – Webninja
    Oct 30, 2015 at 13:46

1 Answer 1


1- In the sitefolder folder create symbolic link for APP, MEDIA, JS

3- copy index.php and htacces to sitefolder

2- in Magento backend under the new store scope add the new domain name

3- in the new site index.php do this Mage::run('newstore','website');

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.