How to configure Adminer to be reachable on the local network
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
add a comment |
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
add a comment |
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
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
networking apache2 webserver
asked Aug 17 '16 at 9:21
Mattlinux1Mattlinux1
6191622
6191622
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
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
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
add a comment |
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.

Welcome to Ask Ubuntu. You can improve your answer by including the command needed to restartApache. 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
add a comment |
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!
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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
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
add a comment |
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
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
add a comment |
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
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
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
add a comment |
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
add a comment |
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.

Welcome to Ask Ubuntu. You can improve your answer by including the command needed to restartApache. 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
add a comment |
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.

Welcome to Ask Ubuntu. You can improve your answer by including the command needed to restartApache. 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
add a comment |
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.

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.

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 restartApache. 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
add a comment |
Welcome to Ask Ubuntu. You can improve your answer by including the command needed to restartApache. 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
add a comment |
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!
add a comment |
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!
add a comment |
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!
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!
answered Aug 17 '16 at 9:38
Mattlinux1Mattlinux1
6191622
6191622
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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