I am about at my end!
I have followed many tutorials on how to get this done.
I have a current website, I need another website on a different domain that shares the same database as website #1.
Always end up with the same error:
/app/mage.php cannot be found.
What am I doing wrong?
I've read that there should be no instance of magento installed on the second domain.
I insert a .htaccess file and an index.php file.
After making the changes on the tuturial....
Error message
Can anyone give me a hand on how to get this corrected?
all you need to do just go to magento admin and create another website:
https://docs.magento.com/m1/ce/user_guide/store-operations/stores-multiple.html
then just add this website code into .htaccess:
https://stackoverflow.com/questions/8754089/magento-site-switching-htaccess
Couple of questions....
I have seen many tutorials on doing this.
I'm a bit confused. So please bare with me but I need some clarification.
I have 2 domain names. Should there be a subfolder in my main directory for this 2nd domain?
If so, I would copy the htaccess and index files in that folder and then modify them?
Or, just modify the main site htaccess and index files?
no need any folders or copy files...
just add new website in magento admin, select new webstire scope and configure base url,
then add website code to root .htaccess file
SetEnvIf Host thunderkissnw.com MAGE_RUN_CODE=base
SetEnvIf Host thunderkissnw.com MAGE_RUN_TYPE=store
SetEnvIf Host tknwthunderdome.com MAGE_RUN_CODE=thunderdome
SetEnvIf Host tknwthunderdome.com MAGE_RUN_TYPE=website
This is what I have in my htaccess file in the root.
Still errors out with
home/thunderk/public_html/tknwthunderdome.com/app/Mage.php was not found
Found that there was a sub folder in the root directory for the second website.
Deleted that and the Mage error went away.
Issue is now that when I try to access the second site, it still directs me to my main site
Did you manage to fix this ? Find a solution ?