Magento 2 admin panel 404

It’s Hard to find why its happen without seeing your installation process. But this may help you:

  1. You can reinstall your project
  2. By mistake you forget your admin URL; You can see/change admin URL from

    app/etc/env.php at line no 5.

    return array (
    'backend' =>
    array (
    'frontName' => 'admin_q76xvk',
    ),
  3. Clean cache/reindexing and delete var/cache , var/page_cache folder.

  4. Make change in .htaccess (Just copy this file pub/.htaccess to magento root folder)

OTHER WAYs

https://www.mageplaza.com/kb/magento-2-404-page-not-found.html

https://magento.stackexchange.com/questions/133679/404-not-found-error-for-admin-page

https://magento.stackexchange.com/questions/89634/after-successful-installation-admin-url-is-returning-a-404