How to configure Adminer to be reachable on the local network












4















I have currently configured a Ubuntu web development server machine, but am having problems connecting/viewing Adminer on the local network. e.g. I can connect to Apache without any problems from a different machine using the local network IP e.g. 172.16.0.24/index.php fine. But when I try to access 172.16.0.24/adminer i get the:



Not Found

The requested URL /adminer was not found on this server.


On the Ubuntu web development server machine, i can access adminer via 127.0.0.1 on localhost. e.g. 127.0.0.1/adminer, the same as Apache.



I would like to know what would be the correct config, to make adminer reachable without playing around with my DNS/host settings on the other networked computer.










share|improve this question



























    4















    I have currently configured a Ubuntu web development server machine, but am having problems connecting/viewing Adminer on the local network. e.g. I can connect to Apache without any problems from a different machine using the local network IP e.g. 172.16.0.24/index.php fine. But when I try to access 172.16.0.24/adminer i get the:



    Not Found

    The requested URL /adminer was not found on this server.


    On the Ubuntu web development server machine, i can access adminer via 127.0.0.1 on localhost. e.g. 127.0.0.1/adminer, the same as Apache.



    I would like to know what would be the correct config, to make adminer reachable without playing around with my DNS/host settings on the other networked computer.










    share|improve this question

























      4












      4








      4


      2






      I have currently configured a Ubuntu web development server machine, but am having problems connecting/viewing Adminer on the local network. e.g. I can connect to Apache without any problems from a different machine using the local network IP e.g. 172.16.0.24/index.php fine. But when I try to access 172.16.0.24/adminer i get the:



      Not Found

      The requested URL /adminer was not found on this server.


      On the Ubuntu web development server machine, i can access adminer via 127.0.0.1 on localhost. e.g. 127.0.0.1/adminer, the same as Apache.



      I would like to know what would be the correct config, to make adminer reachable without playing around with my DNS/host settings on the other networked computer.










      share|improve this question














      I have currently configured a Ubuntu web development server machine, but am having problems connecting/viewing Adminer on the local network. e.g. I can connect to Apache without any problems from a different machine using the local network IP e.g. 172.16.0.24/index.php fine. But when I try to access 172.16.0.24/adminer i get the:



      Not Found

      The requested URL /adminer was not found on this server.


      On the Ubuntu web development server machine, i can access adminer via 127.0.0.1 on localhost. e.g. 127.0.0.1/adminer, the same as Apache.



      I would like to know what would be the correct config, to make adminer reachable without playing around with my DNS/host settings on the other networked computer.







      networking apache2 webserver






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Aug 17 '16 at 9:21









      Mattlinux1Mattlinux1

      6191622




      6191622






















          3 Answers
          3






          active

          oldest

          votes


















          5














          I found on Ubuntu 16.04 that after installing Adminer via



          sudo apt-get install adminer


          it didn't correctly set up the Adminer Apache configuration file. I did the following to get it working:



          cd /etc/apache2/conf-available
          sudo ln -s ../../adminer/apache.conf adminer.conf
          sudo a2enconf adminer
          sudo service apache2 reload


          After that the it worked locally and remotely for me






          share|improve this answer
























          • Yup I had the same issue in Ubuntu 16.04. The apt install script for Adminer is buggy.

            – Crouching Kitten
            Aug 22 '17 at 12:32











          • I had same issue and with above steps it worked ! Thanks.

            – srv
            Feb 11 '18 at 10:21



















          2














          I don't think viewing just the file will solve the problem. At least mine didn't. If you installed Adminer through the command line like this sudo apt-get install adminer, the apache configuration will be found in /etc/adminer/apache.conf file.



          You have to Include this configuration file in your apache configuration which is usually found in /etc/apache2/apache2.conf file. If so, through the command line type sudo gedit /etc/apache2/apache2.conf and at the bottom of the file add Include /etc/adminer/apache.conf or the file path your adminer configuration. Restart your apache server by typing sudo service apache2 restart. If you browse for localhost/adminer you should get everything up and running like this.



          Final screenshot of Adminer up and running






          share|improve this answer


























          • Welcome to Ask Ubuntu. You can improve your answer by including the command needed to restart Apache. Thank you.

            – WinEunuuchs2Unix
            Dec 27 '16 at 0:15











          • Thank you. I assumed those who know about Adminer should already familiar with restarting apache server. By the way, I've done that.

            – Tanveer Rahat
            Dec 27 '16 at 11:04



















          0














          Solved: By viewing the file in /etc/apache2/conf-available named: adminer.conf.



          This then contains the Alias names, the file reads:



          Alias /adminer.php /usr/share/adminer/adminer.php


          I then went onto the other machine on my network and typed in:



          http://172.16.0.24/adminer.php



          And it worked!






          share|improve this answer























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "89"
            };
            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: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            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%2faskubuntu.com%2fquestions%2f813282%2fhow-to-configure-adminer-to-be-reachable-on-the-local-network%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









            5














            I found on Ubuntu 16.04 that after installing Adminer via



            sudo apt-get install adminer


            it didn't correctly set up the Adminer Apache configuration file. I did the following to get it working:



            cd /etc/apache2/conf-available
            sudo ln -s ../../adminer/apache.conf adminer.conf
            sudo a2enconf adminer
            sudo service apache2 reload


            After that the it worked locally and remotely for me






            share|improve this answer
























            • Yup I had the same issue in Ubuntu 16.04. The apt install script for Adminer is buggy.

              – Crouching Kitten
              Aug 22 '17 at 12:32











            • I had same issue and with above steps it worked ! Thanks.

              – srv
              Feb 11 '18 at 10:21
















            5














            I found on Ubuntu 16.04 that after installing Adminer via



            sudo apt-get install adminer


            it didn't correctly set up the Adminer Apache configuration file. I did the following to get it working:



            cd /etc/apache2/conf-available
            sudo ln -s ../../adminer/apache.conf adminer.conf
            sudo a2enconf adminer
            sudo service apache2 reload


            After that the it worked locally and remotely for me






            share|improve this answer
























            • Yup I had the same issue in Ubuntu 16.04. The apt install script for Adminer is buggy.

              – Crouching Kitten
              Aug 22 '17 at 12:32











            • I had same issue and with above steps it worked ! Thanks.

              – srv
              Feb 11 '18 at 10:21














            5












            5








            5







            I found on Ubuntu 16.04 that after installing Adminer via



            sudo apt-get install adminer


            it didn't correctly set up the Adminer Apache configuration file. I did the following to get it working:



            cd /etc/apache2/conf-available
            sudo ln -s ../../adminer/apache.conf adminer.conf
            sudo a2enconf adminer
            sudo service apache2 reload


            After that the it worked locally and remotely for me






            share|improve this answer













            I found on Ubuntu 16.04 that after installing Adminer via



            sudo apt-get install adminer


            it didn't correctly set up the Adminer Apache configuration file. I did the following to get it working:



            cd /etc/apache2/conf-available
            sudo ln -s ../../adminer/apache.conf adminer.conf
            sudo a2enconf adminer
            sudo service apache2 reload


            After that the it worked locally and remotely for me







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Mar 2 '17 at 15:44









            WavesailorWavesailor

            320147




            320147













            • Yup I had the same issue in Ubuntu 16.04. The apt install script for Adminer is buggy.

              – Crouching Kitten
              Aug 22 '17 at 12:32











            • I had same issue and with above steps it worked ! Thanks.

              – srv
              Feb 11 '18 at 10:21



















            • Yup I had the same issue in Ubuntu 16.04. The apt install script for Adminer is buggy.

              – Crouching Kitten
              Aug 22 '17 at 12:32











            • I had same issue and with above steps it worked ! Thanks.

              – srv
              Feb 11 '18 at 10:21

















            Yup I had the same issue in Ubuntu 16.04. The apt install script for Adminer is buggy.

            – Crouching Kitten
            Aug 22 '17 at 12:32





            Yup I had the same issue in Ubuntu 16.04. The apt install script for Adminer is buggy.

            – Crouching Kitten
            Aug 22 '17 at 12:32













            I had same issue and with above steps it worked ! Thanks.

            – srv
            Feb 11 '18 at 10:21





            I had same issue and with above steps it worked ! Thanks.

            – srv
            Feb 11 '18 at 10:21













            2














            I don't think viewing just the file will solve the problem. At least mine didn't. If you installed Adminer through the command line like this sudo apt-get install adminer, the apache configuration will be found in /etc/adminer/apache.conf file.



            You have to Include this configuration file in your apache configuration which is usually found in /etc/apache2/apache2.conf file. If so, through the command line type sudo gedit /etc/apache2/apache2.conf and at the bottom of the file add Include /etc/adminer/apache.conf or the file path your adminer configuration. Restart your apache server by typing sudo service apache2 restart. If you browse for localhost/adminer you should get everything up and running like this.



            Final screenshot of Adminer up and running






            share|improve this answer


























            • Welcome to Ask Ubuntu. You can improve your answer by including the command needed to restart Apache. Thank you.

              – WinEunuuchs2Unix
              Dec 27 '16 at 0:15











            • Thank you. I assumed those who know about Adminer should already familiar with restarting apache server. By the way, I've done that.

              – Tanveer Rahat
              Dec 27 '16 at 11:04
















            2














            I don't think viewing just the file will solve the problem. At least mine didn't. If you installed Adminer through the command line like this sudo apt-get install adminer, the apache configuration will be found in /etc/adminer/apache.conf file.



            You have to Include this configuration file in your apache configuration which is usually found in /etc/apache2/apache2.conf file. If so, through the command line type sudo gedit /etc/apache2/apache2.conf and at the bottom of the file add Include /etc/adminer/apache.conf or the file path your adminer configuration. Restart your apache server by typing sudo service apache2 restart. If you browse for localhost/adminer you should get everything up and running like this.



            Final screenshot of Adminer up and running






            share|improve this answer


























            • Welcome to Ask Ubuntu. You can improve your answer by including the command needed to restart Apache. Thank you.

              – WinEunuuchs2Unix
              Dec 27 '16 at 0:15











            • Thank you. I assumed those who know about Adminer should already familiar with restarting apache server. By the way, I've done that.

              – Tanveer Rahat
              Dec 27 '16 at 11:04














            2












            2








            2







            I don't think viewing just the file will solve the problem. At least mine didn't. If you installed Adminer through the command line like this sudo apt-get install adminer, the apache configuration will be found in /etc/adminer/apache.conf file.



            You have to Include this configuration file in your apache configuration which is usually found in /etc/apache2/apache2.conf file. If so, through the command line type sudo gedit /etc/apache2/apache2.conf and at the bottom of the file add Include /etc/adminer/apache.conf or the file path your adminer configuration. Restart your apache server by typing sudo service apache2 restart. If you browse for localhost/adminer you should get everything up and running like this.



            Final screenshot of Adminer up and running






            share|improve this answer















            I don't think viewing just the file will solve the problem. At least mine didn't. If you installed Adminer through the command line like this sudo apt-get install adminer, the apache configuration will be found in /etc/adminer/apache.conf file.



            You have to Include this configuration file in your apache configuration which is usually found in /etc/apache2/apache2.conf file. If so, through the command line type sudo gedit /etc/apache2/apache2.conf and at the bottom of the file add Include /etc/adminer/apache.conf or the file path your adminer configuration. Restart your apache server by typing sudo service apache2 restart. If you browse for localhost/adminer you should get everything up and running like this.



            Final screenshot of Adminer up and running







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Dec 27 '16 at 11:02

























            answered Dec 26 '16 at 22:29









            Tanveer RahatTanveer Rahat

            216




            216













            • Welcome to Ask Ubuntu. You can improve your answer by including the command needed to restart Apache. Thank you.

              – WinEunuuchs2Unix
              Dec 27 '16 at 0:15











            • Thank you. I assumed those who know about Adminer should already familiar with restarting apache server. By the way, I've done that.

              – Tanveer Rahat
              Dec 27 '16 at 11:04



















            • Welcome to Ask Ubuntu. You can improve your answer by including the command needed to restart Apache. Thank you.

              – WinEunuuchs2Unix
              Dec 27 '16 at 0:15











            • Thank you. I assumed those who know about Adminer should already familiar with restarting apache server. By the way, I've done that.

              – Tanveer Rahat
              Dec 27 '16 at 11:04

















            Welcome to Ask Ubuntu. You can improve your answer by including the command needed to restart Apache. Thank you.

            – WinEunuuchs2Unix
            Dec 27 '16 at 0:15





            Welcome to Ask Ubuntu. You can improve your answer by including the command needed to restart Apache. Thank you.

            – WinEunuuchs2Unix
            Dec 27 '16 at 0:15













            Thank you. I assumed those who know about Adminer should already familiar with restarting apache server. By the way, I've done that.

            – Tanveer Rahat
            Dec 27 '16 at 11:04





            Thank you. I assumed those who know about Adminer should already familiar with restarting apache server. By the way, I've done that.

            – Tanveer Rahat
            Dec 27 '16 at 11:04











            0














            Solved: By viewing the file in /etc/apache2/conf-available named: adminer.conf.



            This then contains the Alias names, the file reads:



            Alias /adminer.php /usr/share/adminer/adminer.php


            I then went onto the other machine on my network and typed in:



            http://172.16.0.24/adminer.php



            And it worked!






            share|improve this answer




























              0














              Solved: By viewing the file in /etc/apache2/conf-available named: adminer.conf.



              This then contains the Alias names, the file reads:



              Alias /adminer.php /usr/share/adminer/adminer.php


              I then went onto the other machine on my network and typed in:



              http://172.16.0.24/adminer.php



              And it worked!






              share|improve this answer


























                0












                0








                0







                Solved: By viewing the file in /etc/apache2/conf-available named: adminer.conf.



                This then contains the Alias names, the file reads:



                Alias /adminer.php /usr/share/adminer/adminer.php


                I then went onto the other machine on my network and typed in:



                http://172.16.0.24/adminer.php



                And it worked!






                share|improve this answer













                Solved: By viewing the file in /etc/apache2/conf-available named: adminer.conf.



                This then contains the Alias names, the file reads:



                Alias /adminer.php /usr/share/adminer/adminer.php


                I then went onto the other machine on my network and typed in:



                http://172.16.0.24/adminer.php



                And it worked!







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Aug 17 '16 at 9:38









                Mattlinux1Mattlinux1

                6191622




                6191622






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Ask Ubuntu!


                    • 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%2faskubuntu.com%2fquestions%2f813282%2fhow-to-configure-adminer-to-be-reachable-on-the-local-network%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

                    Category:香港粉麵

                    List *all* the tuples!

                    Channel [V]