- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Not able to load the Magento Frontend after installation
Hello,
I have installed magento 2 using composer and elastic search on windows machine. I have installed Magento version- Magento CLI 2.4.7-p4. I have installed elastic search version- 7.10.2. My admin URL path is- /admin_v6g0111.
So i am trying to access with the url- http://localhost/magento241/admin_v6g0111.
But i am getting error like below-
What can be the possible solution for the above issue?
Thank you,
Krushna Bopparthi
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Not able to load the Magento Frontend after installation
I have just completed an install of 2.4.7 on a new RHEL Almalinux 9 Server and I'm getting a similar error message. I am going to try to install it on a Windows 2022 Server using WAMP as the base so we will see. For the Linux Server I installed the LAMP as individual components and that in itself has a lot of areas I could have made a mistake. Did you use WAMP or install all the prereqs individually? Also when I tried to install and I was using elastic search the install failed so I removed elastic search and installed OpenSearch instead and the install successful. Did you change the httpd.conf file to add new directory? Have you tired running the magento command to check the Admin URI page to make sure you have the right path? php bin/magento info:adminuri your magento folder may be called magento241 so the command would be php bin/magento info:adminuri. Also have you tired creating just an index.html page in same directory and seeing if you can access it, maybe its permission error https://localhost/magento241/index.html
@bopparthikc42b wrote:Hello,
I have installed magento 2 using composer and elastic search on windows machine. I have installed Magento version- Magento CLI 2.4.7-p4. I have installed elastic search version- 7.10.2. My admin URL path is- /admin_v6g0111.
So i am trying to access with the url- http://localhost/magento241/admin_v6g0111.
But i am getting error like below-
What can be the possible solution for the above issue?Thank you,
Krushna Bopparthi
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Not able to load the Magento Frontend after installation
I saw this advice in another post and will be trying it myself on the Linux installation. I am still setting up my Windows Server 2022 and deciding between XAMPP or WAMP.
" So you should ensure that your Apache virtual host configuration for Magento is set up correctly, particularly the "DocumentRoot" and "Directory" directives. And also check Magento's base URLs configuration in the database to ensure they match your local environment.
You can directly update these values in the "core_config_data" table in the Magento database. If the issue persists then consider checking Magento's rewrite rules in the ".htaccess" file and ensure they are compatible with your local environment."