Keywords: Magento - Virtual Machines - Technical issue - Services (Apache, MariaDB, MySQL…)
bnsupport ID: 571c1ffc-934e-fe26-e3a2-d1733b83d26f
? Apache: Found possible issues https://docs.bitnami.com/general/apps/wordpress/troubleshooting/debug-errors-apache/ https://docs.bitnami.com/bch/apps/moodle/troubleshooting/deny-connections-bots-apache/
bndiagnostic failure reason: The suggested guides are not related with my issue
I am using the below code in to load multiple websites in Magento by adding the information in the below file in Apache.
Everything works perfectly except when I add a specific website name. Every other name works (Apache starts and re-directs to the correct store)
SetEnvIf Host www\notworking.domain\.com MAGE_RUN_CODE=notworking SetEnvIf Host www\notworking.domain\.com MAGE_RUN_TYPE=website SetEnvIf Host ^notworking.domain\.com MAGE_RUN_CODE=notworking SetEnvIf Host ^notworking.domain\.com MAGE_RUN_TYPE=website
With this particular store, when I was originally creating the theme, I miss-spelt the directory name which I have since changed. Since then, even if I remove the website/store/store view and re-create using the same name, and put in the SetEnvIf Host code above using this name, Apache will not start. If I remove it, Apache starts and works as expected. If I add the above code with a different sub-domain, everything works as well. It seems Apache does not like this particular name, and will not start if I add it to the magento-htaccess.conf
Is there somewhere I can look to trouble-shoot this? I would like to use this particular sub-domain.