Magento 2 : Admin url 404 not found The Next CEO of Stack Overflow404 not found error for...

Rotate a column

How to safely derail a train during transit?

How does the Z80 determine which peripheral sent an interrupt?

Can you replace a racial trait cantrip when leveling up?

Why do variable in an inner function return nan when there is the same variable name at the inner function declared after log

Several mode to write the symbol of a vector

Should I tutor a student who I know has cheated on their homework?

What does convergence in distribution "in the Gromov–Hausdorff" sense mean?

Can I equip Skullclamp on a creature I am sacrificing?

Are there any limitations on attacking while grappling?

What can we do to stop prior company from asking us questions?

How does the mv command work with external drives?

What happens if you roll doubles 3 times then land on "Go to jail?"

What is the purpose of the Evocation wizard's Potent Cantrip feature?

Complex fractions

Why does the UK parliament need a vote on the political declaration?

If a black hole is created from light, can this black hole then move at speed of light?

Written every which way

Is it possible to search for a directory/file combination?

Why does standard notation not preserve intervals (visually)

Is micro rebar a better way to reinforce concrete than rebar?

Why do we use the plural of movies in this phrase "We went to the movies last night."?

How to invert MapIndexed on a ragged structure? How to construct a tree from rules?

Why didn't Khan get resurrected in the Genesis Explosion?



Magento 2 : Admin url 404 not found



The Next CEO of Stack Overflow404 not found error for admin pageAfter successful installation, admin URL is returning a 404?admin url show the page is not working in magento 2Apache Server at boatandyachtbuyer.co.uk Port 80Magento2 with Nginx and PHP7: cannot access the adminUnable to open admin panel after successful installation of magento on localhost in ubuntu 14.04What is my magento admin dashboard login urlMagento 2 URL migration problemMagento installation stuck on 53%Magento 2.2.2 does not load store properly and admin url through 404Magento2 Error 404 Admin after installNo css found and admin url not found on this server magento 2Magento2 Installation Error by 0%












0















I know there are many answers for this i tried all and not able to do it on my server hosted with godaddy magento latest version



I tried this



<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>


404 not found error for admin page



didn't work out



then



php bin/magento setup:upgrade

php bin/magento setup:static-content:deploy

rm -rf var/cache/*

rm -rf var/generation/*


this dint work out



added httaccess to my root directory



https://github.com/emizentech/magento2/blob/master/.htaccess.sample



though it was not there still dint work out
home page works fine as expected with no erros on it



but admin page says 404 error



domain.com/admin



Not Found
The requested URL /admin was not found on this server.

Apache/2.4.18 (Ubuntu) Server at 192.169.143.135 Port 80


If I added domain.com/index.php/admin



Not Found
The requested URL /admin/admin/index/index/key/be1e5947f83b71x354749eds3ba0aa7321a8a8d659aca49cc8a00fb4de1cc57ab956f/ was not found on this server.

Apache/2.4.18 (Ubuntu) Server at 192.169.143.135 Port 80


I enabled developer mode to



 main.DEBUG: cache_invalidate:  {"method":"GET","url":"http://192.169.143.135/index.php/admin/","invalidateInfo":{"tags":["interception","CONFIG"],"mode":"matchingTag"}} []


enter image description here










share|improve this question

























  • have you checked your admin front name in env.php

    – kunj
    Jun 3 '18 at 4:00











  • 'backend' => [ 'frontName' => 'admin' ], it is same

    – Shaik
    Jun 3 '18 at 8:07











  • do you have multistore?

    – kunj
    Jun 3 '18 at 8:10











  • no it is just a single store site newly installed on this server

    – Shaik
    Jun 3 '18 at 8:13






  • 1





    @kunj magento.stackexchange.com/questions/89634/… fineally this solved my problem

    – Shaik
    Jun 3 '18 at 17:22


















0















I know there are many answers for this i tried all and not able to do it on my server hosted with godaddy magento latest version



I tried this



<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>


404 not found error for admin page



didn't work out



then



php bin/magento setup:upgrade

php bin/magento setup:static-content:deploy

rm -rf var/cache/*

rm -rf var/generation/*


this dint work out



added httaccess to my root directory



https://github.com/emizentech/magento2/blob/master/.htaccess.sample



though it was not there still dint work out
home page works fine as expected with no erros on it



but admin page says 404 error



domain.com/admin



Not Found
The requested URL /admin was not found on this server.

Apache/2.4.18 (Ubuntu) Server at 192.169.143.135 Port 80


If I added domain.com/index.php/admin



Not Found
The requested URL /admin/admin/index/index/key/be1e5947f83b71x354749eds3ba0aa7321a8a8d659aca49cc8a00fb4de1cc57ab956f/ was not found on this server.

Apache/2.4.18 (Ubuntu) Server at 192.169.143.135 Port 80


I enabled developer mode to



 main.DEBUG: cache_invalidate:  {"method":"GET","url":"http://192.169.143.135/index.php/admin/","invalidateInfo":{"tags":["interception","CONFIG"],"mode":"matchingTag"}} []


enter image description here










share|improve this question

























  • have you checked your admin front name in env.php

    – kunj
    Jun 3 '18 at 4:00











  • 'backend' => [ 'frontName' => 'admin' ], it is same

    – Shaik
    Jun 3 '18 at 8:07











  • do you have multistore?

    – kunj
    Jun 3 '18 at 8:10











  • no it is just a single store site newly installed on this server

    – Shaik
    Jun 3 '18 at 8:13






  • 1





    @kunj magento.stackexchange.com/questions/89634/… fineally this solved my problem

    – Shaik
    Jun 3 '18 at 17:22
















0












0








0








I know there are many answers for this i tried all and not able to do it on my server hosted with godaddy magento latest version



I tried this



<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>


404 not found error for admin page



didn't work out



then



php bin/magento setup:upgrade

php bin/magento setup:static-content:deploy

rm -rf var/cache/*

rm -rf var/generation/*


this dint work out



added httaccess to my root directory



https://github.com/emizentech/magento2/blob/master/.htaccess.sample



though it was not there still dint work out
home page works fine as expected with no erros on it



but admin page says 404 error



domain.com/admin



Not Found
The requested URL /admin was not found on this server.

Apache/2.4.18 (Ubuntu) Server at 192.169.143.135 Port 80


If I added domain.com/index.php/admin



Not Found
The requested URL /admin/admin/index/index/key/be1e5947f83b71x354749eds3ba0aa7321a8a8d659aca49cc8a00fb4de1cc57ab956f/ was not found on this server.

Apache/2.4.18 (Ubuntu) Server at 192.169.143.135 Port 80


I enabled developer mode to



 main.DEBUG: cache_invalidate:  {"method":"GET","url":"http://192.169.143.135/index.php/admin/","invalidateInfo":{"tags":["interception","CONFIG"],"mode":"matchingTag"}} []


enter image description here










share|improve this question
















I know there are many answers for this i tried all and not able to do it on my server hosted with godaddy magento latest version



I tried this



<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>


404 not found error for admin page



didn't work out



then



php bin/magento setup:upgrade

php bin/magento setup:static-content:deploy

rm -rf var/cache/*

rm -rf var/generation/*


this dint work out



added httaccess to my root directory



https://github.com/emizentech/magento2/blob/master/.htaccess.sample



though it was not there still dint work out
home page works fine as expected with no erros on it



but admin page says 404 error



domain.com/admin



Not Found
The requested URL /admin was not found on this server.

Apache/2.4.18 (Ubuntu) Server at 192.169.143.135 Port 80


If I added domain.com/index.php/admin



Not Found
The requested URL /admin/admin/index/index/key/be1e5947f83b71x354749eds3ba0aa7321a8a8d659aca49cc8a00fb4de1cc57ab956f/ was not found on this server.

Apache/2.4.18 (Ubuntu) Server at 192.169.143.135 Port 80


I enabled developer mode to



 main.DEBUG: cache_invalidate:  {"method":"GET","url":"http://192.169.143.135/index.php/admin/","invalidateInfo":{"tags":["interception","CONFIG"],"mode":"matchingTag"}} []


enter image description here







magento2 php database apache apache2






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 24 mins ago









Teja Bhagavan Kollepara

3,01241949




3,01241949










asked Jun 3 '18 at 1:15









ShaikShaik

1215




1215













  • have you checked your admin front name in env.php

    – kunj
    Jun 3 '18 at 4:00











  • 'backend' => [ 'frontName' => 'admin' ], it is same

    – Shaik
    Jun 3 '18 at 8:07











  • do you have multistore?

    – kunj
    Jun 3 '18 at 8:10











  • no it is just a single store site newly installed on this server

    – Shaik
    Jun 3 '18 at 8:13






  • 1





    @kunj magento.stackexchange.com/questions/89634/… fineally this solved my problem

    – Shaik
    Jun 3 '18 at 17:22





















  • have you checked your admin front name in env.php

    – kunj
    Jun 3 '18 at 4:00











  • 'backend' => [ 'frontName' => 'admin' ], it is same

    – Shaik
    Jun 3 '18 at 8:07











  • do you have multistore?

    – kunj
    Jun 3 '18 at 8:10











  • no it is just a single store site newly installed on this server

    – Shaik
    Jun 3 '18 at 8:13






  • 1





    @kunj magento.stackexchange.com/questions/89634/… fineally this solved my problem

    – Shaik
    Jun 3 '18 at 17:22



















have you checked your admin front name in env.php

– kunj
Jun 3 '18 at 4:00





have you checked your admin front name in env.php

– kunj
Jun 3 '18 at 4:00













'backend' => [ 'frontName' => 'admin' ], it is same

– Shaik
Jun 3 '18 at 8:07





'backend' => [ 'frontName' => 'admin' ], it is same

– Shaik
Jun 3 '18 at 8:07













do you have multistore?

– kunj
Jun 3 '18 at 8:10





do you have multistore?

– kunj
Jun 3 '18 at 8:10













no it is just a single store site newly installed on this server

– Shaik
Jun 3 '18 at 8:13





no it is just a single store site newly installed on this server

– Shaik
Jun 3 '18 at 8:13




1




1





@kunj magento.stackexchange.com/questions/89634/… fineally this solved my problem

– Shaik
Jun 3 '18 at 17:22







@kunj magento.stackexchange.com/questions/89634/… fineally this solved my problem

– Shaik
Jun 3 '18 at 17:22












3 Answers
3






active

oldest

votes


















2














Fileally After Rebuilding Server again



installing php 7.1 mysql marine



apache2



got the solution



Source : After successful installation, admin URL is returning a 404?



I was also facing the same problem. My frontend's css is not loading as well as admin panel was giving 404 error page. The solution of both the problem in ubuntu is enable Apache server rewrites:





  1. Go to your terminal and run this command:




    sudo gedit /etc/apache2/apache2.conf




    And change:



    <Directory /var/www/>
    Options Indexes FollowSymLinks
    AllowOverride none
    Require all granted


    To



    <Directory /var/www/>
    Options Indexes FollowSymLinks
    AllowOverride All
    Require all granted


    change only AllowOverride none to All




  2. Go to your terminal and run command:




    sudo a2enmod rewrite



    sudo service apache2 restart




  3. Then give the permission to your var, pub and app/etc. and then go to your admin and frontend it works properly.







share|improve this answer

































    1














    Change Admin Path and try again:



    It is not recommended to change it directly from app/etc/env.php, always prefer the CLI:



    php bin/magento setup:config:set --backend-frontname="admin_url"





    share|improve this answer
























    • php bin/magento setup:config:set --backend-frontname="admin" tried no effect

      – Shaik
      Jun 3 '18 at 8:05





















    1














    Please try Below steps




    • Delete var/cache folder

    • Go to database SELECT * FROM core_config_data WHERE path = 'web/seo/use_rewrites' and make it 0

    • Then enter url in your browser magento_base_url/index.php/your_admin_url


    try and let me know if you face any issue.






    share|improve this answer


























    • i did check the updated image no effects

      – Shaik
      Jun 3 '18 at 8:14











    • Can you check url rewrites enable or disable. if enable than you can disable after cache flush and check.

      – user68116
      Jun 3 '18 at 11:39














    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "479"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f228430%2fmagento-2-admin-url-404-not-found%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    3 Answers
    3






    active

    oldest

    votes








    3 Answers
    3






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    2














    Fileally After Rebuilding Server again



    installing php 7.1 mysql marine



    apache2



    got the solution



    Source : After successful installation, admin URL is returning a 404?



    I was also facing the same problem. My frontend's css is not loading as well as admin panel was giving 404 error page. The solution of both the problem in ubuntu is enable Apache server rewrites:





    1. Go to your terminal and run this command:




      sudo gedit /etc/apache2/apache2.conf




      And change:



      <Directory /var/www/>
      Options Indexes FollowSymLinks
      AllowOverride none
      Require all granted


      To



      <Directory /var/www/>
      Options Indexes FollowSymLinks
      AllowOverride All
      Require all granted


      change only AllowOverride none to All




    2. Go to your terminal and run command:




      sudo a2enmod rewrite



      sudo service apache2 restart




    3. Then give the permission to your var, pub and app/etc. and then go to your admin and frontend it works properly.







    share|improve this answer






























      2














      Fileally After Rebuilding Server again



      installing php 7.1 mysql marine



      apache2



      got the solution



      Source : After successful installation, admin URL is returning a 404?



      I was also facing the same problem. My frontend's css is not loading as well as admin panel was giving 404 error page. The solution of both the problem in ubuntu is enable Apache server rewrites:





      1. Go to your terminal and run this command:




        sudo gedit /etc/apache2/apache2.conf




        And change:



        <Directory /var/www/>
        Options Indexes FollowSymLinks
        AllowOverride none
        Require all granted


        To



        <Directory /var/www/>
        Options Indexes FollowSymLinks
        AllowOverride All
        Require all granted


        change only AllowOverride none to All




      2. Go to your terminal and run command:




        sudo a2enmod rewrite



        sudo service apache2 restart




      3. Then give the permission to your var, pub and app/etc. and then go to your admin and frontend it works properly.







      share|improve this answer




























        2












        2








        2







        Fileally After Rebuilding Server again



        installing php 7.1 mysql marine



        apache2



        got the solution



        Source : After successful installation, admin URL is returning a 404?



        I was also facing the same problem. My frontend's css is not loading as well as admin panel was giving 404 error page. The solution of both the problem in ubuntu is enable Apache server rewrites:





        1. Go to your terminal and run this command:




          sudo gedit /etc/apache2/apache2.conf




          And change:



          <Directory /var/www/>
          Options Indexes FollowSymLinks
          AllowOverride none
          Require all granted


          To



          <Directory /var/www/>
          Options Indexes FollowSymLinks
          AllowOverride All
          Require all granted


          change only AllowOverride none to All




        2. Go to your terminal and run command:




          sudo a2enmod rewrite



          sudo service apache2 restart




        3. Then give the permission to your var, pub and app/etc. and then go to your admin and frontend it works properly.







        share|improve this answer















        Fileally After Rebuilding Server again



        installing php 7.1 mysql marine



        apache2



        got the solution



        Source : After successful installation, admin URL is returning a 404?



        I was also facing the same problem. My frontend's css is not loading as well as admin panel was giving 404 error page. The solution of both the problem in ubuntu is enable Apache server rewrites:





        1. Go to your terminal and run this command:




          sudo gedit /etc/apache2/apache2.conf




          And change:



          <Directory /var/www/>
          Options Indexes FollowSymLinks
          AllowOverride none
          Require all granted


          To



          <Directory /var/www/>
          Options Indexes FollowSymLinks
          AllowOverride All
          Require all granted


          change only AllowOverride none to All




        2. Go to your terminal and run command:




          sudo a2enmod rewrite



          sudo service apache2 restart




        3. Then give the permission to your var, pub and app/etc. and then go to your admin and frontend it works properly.








        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Jun 3 '18 at 18:33

























        answered Jun 3 '18 at 17:21









        ShaikShaik

        1215




        1215

























            1














            Change Admin Path and try again:



            It is not recommended to change it directly from app/etc/env.php, always prefer the CLI:



            php bin/magento setup:config:set --backend-frontname="admin_url"





            share|improve this answer
























            • php bin/magento setup:config:set --backend-frontname="admin" tried no effect

              – Shaik
              Jun 3 '18 at 8:05


















            1














            Change Admin Path and try again:



            It is not recommended to change it directly from app/etc/env.php, always prefer the CLI:



            php bin/magento setup:config:set --backend-frontname="admin_url"





            share|improve this answer
























            • php bin/magento setup:config:set --backend-frontname="admin" tried no effect

              – Shaik
              Jun 3 '18 at 8:05
















            1












            1








            1







            Change Admin Path and try again:



            It is not recommended to change it directly from app/etc/env.php, always prefer the CLI:



            php bin/magento setup:config:set --backend-frontname="admin_url"





            share|improve this answer













            Change Admin Path and try again:



            It is not recommended to change it directly from app/etc/env.php, always prefer the CLI:



            php bin/magento setup:config:set --backend-frontname="admin_url"






            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Jun 3 '18 at 7:36









            Nikunj VadariyaNikunj Vadariya

            2,8711821




            2,8711821













            • php bin/magento setup:config:set --backend-frontname="admin" tried no effect

              – Shaik
              Jun 3 '18 at 8:05





















            • php bin/magento setup:config:set --backend-frontname="admin" tried no effect

              – Shaik
              Jun 3 '18 at 8:05



















            php bin/magento setup:config:set --backend-frontname="admin" tried no effect

            – Shaik
            Jun 3 '18 at 8:05







            php bin/magento setup:config:set --backend-frontname="admin" tried no effect

            – Shaik
            Jun 3 '18 at 8:05













            1














            Please try Below steps




            • Delete var/cache folder

            • Go to database SELECT * FROM core_config_data WHERE path = 'web/seo/use_rewrites' and make it 0

            • Then enter url in your browser magento_base_url/index.php/your_admin_url


            try and let me know if you face any issue.






            share|improve this answer


























            • i did check the updated image no effects

              – Shaik
              Jun 3 '18 at 8:14











            • Can you check url rewrites enable or disable. if enable than you can disable after cache flush and check.

              – user68116
              Jun 3 '18 at 11:39


















            1














            Please try Below steps




            • Delete var/cache folder

            • Go to database SELECT * FROM core_config_data WHERE path = 'web/seo/use_rewrites' and make it 0

            • Then enter url in your browser magento_base_url/index.php/your_admin_url


            try and let me know if you face any issue.






            share|improve this answer


























            • i did check the updated image no effects

              – Shaik
              Jun 3 '18 at 8:14











            • Can you check url rewrites enable or disable. if enable than you can disable after cache flush and check.

              – user68116
              Jun 3 '18 at 11:39
















            1












            1








            1







            Please try Below steps




            • Delete var/cache folder

            • Go to database SELECT * FROM core_config_data WHERE path = 'web/seo/use_rewrites' and make it 0

            • Then enter url in your browser magento_base_url/index.php/your_admin_url


            try and let me know if you face any issue.






            share|improve this answer















            Please try Below steps




            • Delete var/cache folder

            • Go to database SELECT * FROM core_config_data WHERE path = 'web/seo/use_rewrites' and make it 0

            • Then enter url in your browser magento_base_url/index.php/your_admin_url


            try and let me know if you face any issue.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Jun 3 '18 at 18:41









            Rohan Hapani

            6,76731865




            6,76731865










            answered Jun 3 '18 at 7:59







            user68116




















            • i did check the updated image no effects

              – Shaik
              Jun 3 '18 at 8:14











            • Can you check url rewrites enable or disable. if enable than you can disable after cache flush and check.

              – user68116
              Jun 3 '18 at 11:39





















            • i did check the updated image no effects

              – Shaik
              Jun 3 '18 at 8:14











            • Can you check url rewrites enable or disable. if enable than you can disable after cache flush and check.

              – user68116
              Jun 3 '18 at 11:39



















            i did check the updated image no effects

            – Shaik
            Jun 3 '18 at 8:14





            i did check the updated image no effects

            – Shaik
            Jun 3 '18 at 8:14













            Can you check url rewrites enable or disable. if enable than you can disable after cache flush and check.

            – user68116
            Jun 3 '18 at 11:39







            Can you check url rewrites enable or disable. if enable than you can disable after cache flush and check.

            – user68116
            Jun 3 '18 at 11:39




















            draft saved

            draft discarded




















































            Thanks for contributing an answer to Magento Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f228430%2fmagento-2-admin-url-404-not-found%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            “%fieldName is a required field.”, in Magento2 REST API Call for GET Method Type The Next...

            How to change City field to a dropdown in Checkout step Magento 2Magento 2 : How to change UI field(s)...

            變成蝙蝠會怎樣? 參考資料 外部連結 导航菜单Thomas Nagel, "What is it like to be a...