I read and viewed all things related to multiple websites for Magento, but I still cannot setup properly to handle different domains with different Magento websites.
Could somebody let me know step by step, how to setup the virtual hosts properly and htaccess or/and index.php?
I know that setting multiple websites in subdomains/catalogs is easy, but I like it to work with different domains.
I have set up everything in Magento admin:
- domain: abc.com
- website code: domain1
- domain: xyz.com
- website code: domain2
I have Apache configured in
/etc/httpd/conf/httpd.conf with the following document roots:
What should I put in the second domain directory (.htaccess, index.php? should I copy it from first one?)