cancel
Showing results for 
Search instead for 
Did you mean: 

404 Not Found on admin page

404 Not Found on admin page

Hi!

 

After installing magento 2.3.4 tens of times either with composer or downloading the zip and searching through all the forums, I still cannot find a solution to getting 404 on my admin page.

 

I've checked the magento and apache2 logs and I get no errors. In var/log/system.log I do get this however:

 

[2020-04-21 08:10:02] main.INFO: Consumer "async.operations.all" skipped as required connection "amqp" is not configured. Unknown connection name amqp [] [] 

I also do not understand why I cannot access my server through the link that I configured in my magento.conf file:

 

<VirtualHost *:80>                                                                                                                                                           
     ServerAdmin admin@something.com
     DocumentRoot /var/www/html/magento/
     ServerName something.com
     ServerAlias www.something.com

     <Directory /var/www/html/magento/>
        Options Indexes FollowSymLinks MultiViews
        AllowOverride All 
        Order allow,deny
        allow from all
     </Directory>

     ErrorLog ${APACHE_LOG_DIR}/error.log
     CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>

Going to www.something.com says "This site cannot be reached", so I always used localhost/magento/ which works. But trying to access any other webpage from the main one leads to 404 not found, including localhost/magento/admin

 

Maybe it's an apache problem? I really cannot tell..

3 REPLIES 3

Re: 404 Not Found on admin page

Hello @cristiancrf528 

 

Please try with localhost/magento/index.php/admin.

I hope it helps.

Problem solved? Click Kudos and "Accept as Solution".
200+ Magento 2 Extensions for Enhanced Shopping Experience.

Re: 404 Not Found on admin page

Hello,

 

This will help you.

 

https://community.magento.com/t5/Installing-Magento-2-x/Magento-2-Localhost-Admin-url-returning-404-...

 

Problem solved : Click on Kudos and Accept as Solution

 

Thank you

Hiren Patel

Re: 404 Not Found on admin page

Hello,

 

Please check this answer.

Hope it will helps you.

 

This is the link.

 

If Problem solved? Click Accept as Solution!



Problem solved? Click Accept as Solution!