Skip to main content
15 events
when toggle format what by license comment
Aug 14, 2021 at 8:53 comment added Hamendra Sunthwal reverting the DocumentRoot to /var/www/html in /etc/apache2/sites-available/000-default.conf file worked now i can access localhost
Aug 14, 2021 at 8:47 comment added Hamendra Sunthwal @RohanHapani i have edited /etc/apache2/sites-available/000-default.conf this file
Jul 26, 2021 at 5:59 comment added Rohan Hapani Let us continue this discussion in chat.
Jul 26, 2021 at 5:59 comment added Hamendra Sunthwal sudo nano /etc/apache2/sites-available/magento24.com.conf
Jul 26, 2021 at 5:58 comment added Rohan Hapani In which file you setup /var/www/html/m24/pub/ ?
Jul 26, 2021 at 5:46 comment added Hamendra Sunthwal So, i wonder now any way to access other setup also ? may be adding old setup to virtual host.(not sure) need some guidance on that @RohanHapani
Jul 26, 2021 at 5:45 comment added Hamendra Sunthwal That's cool. Actually i already had magento 2.3.3 version installed in system, no virtual host configured (just with apache + mysql + php 7.3) with localhost/magento233 it was working. Then i installed magento 2.4.2 but there were issues with (404 error) then found your article & followed steps. it worked. but localhost/magento233 redirected to new magento 2.4.2 setup. may be because i have set DocumentRoot /var/www/html/m24/pub/.
Jul 26, 2021 at 5:36 comment added Rohan Hapani I already tried and then, I post my answer and article and it's working fine. Maybe something is missing from your end. I already running many m2.4.1+ instance and m2.3+ instance in my local. You can contact me on skype.
Jul 26, 2021 at 5:27 comment added Hamendra Sunthwal did that worked ? instead of example.com i used magento24.com it worked but then the other magento exisiting setup are not working. @RohanHapani it would be helpfull if you add or update answer or your article to create multiple instance in local. Like example.com
Jul 24, 2021 at 17:03 comment added Rohan Hapani If you will create virtual host then it will be working on multiple instance. I already tried.
Jul 24, 2021 at 17:00 comment added Hamendra Sunthwal I followed same steps mentioned in your article rohanhapani.com/…
Jul 24, 2021 at 16:54 comment added Hamendra Sunthwal It worked, as per your article for magento 2.4 pub, but now other magento setup are not accessible. localhost redirects to the site (example.com) as per the article.
Jul 24, 2021 at 16:34 comment added Rohan Hapani Did you created separate conf file? Or edit in 000-default.conf file?
Jul 24, 2021 at 16:02 answer added Shoaib Munir timeline score: 0
Jul 24, 2021 at 15:32 history asked Hamendra Sunthwal CC BY-SA 4.0