cancel
Showing results for 
Search instead for 
Did you mean: 

Installing Magento 2 on MAMP through Github - The requested URL was not found on this server.

Installing Magento 2 on MAMP through Github - The requested URL was not found on this server.

Hi,

I have been struggling for the last week to install Magento on my local host to be able to play with the front end. I follow all steps installing the composer. First time without github - I got a 404 error. composer.json not found. Managed to work around the installation but still got the same error. After trying everything I found on google I gave up and deleted everything. 

I then used github to install it. I know got a:
The requested URL was not found on this server. 

I am very unsure what to do next or how to fix this problem.

Many thanks,

2 REPLIES 2

Re: Installing Magento 2 on MAMP through Github - The requested URL was not found on this server.

From your query it appears that you are facing an issue setting up Magento on your local host. The composer.json file not being in the right directory is one potential reason why the "404 error composer json not found" error message appears. Ensure that the file is located in your Magento installation's root directory.

The web server's configuration could also be the root of the "The requested URL was not found on this server" issue.

Ensure that the Magento installation directory is pointed to by the web server, and that the web server user has the appropriate rights set.

Re: Installing Magento 2 on MAMP through Github - The requested URL was not found on this server.

  1. Check the server configuration: Ensure that your local server environment meets the system requirements for Magento 2.4.3.

  2. Check the .htaccess file: If you're using Apache as your web server, check the .htaccess file to ensure that it is configured correctly.

  3. Check the URL: Double-check the URL you are using to access the site to make sure that it is correct.