Can´t access phpMyAdmin in the URL it has to be

Hi,

I just installed phpMyAdmin on my server. Everything ran fine during installation and configuration.

But, when I try to access it:

https://mywebsite.com/phpmyadmin

It displays a 404 error. Even using the IP instead the domain don`t works.

I noticed the alias in /etc/phpmyadmin/apache.conf file, and it's correct.

Someone has an idea about how could I solve this, please?

Thanks.

4 Replies

I'm not sure how or where you installed phpMyAdmin. I used the Linode guide.

In the directory you want to "have" the app make a symbolic link:

ln -s /usr/share/phpmyadmin phpmyadmin

which is assuming that you put phpmyadmin in the /usr/share directory.

Hi again,

Thank you so much.

I also followed the Linode's guide. But the problem was in that part mentioning (a warning) the needing of to press "space" to select Apache, right at the beginning of phpMyAdmin installation.

The first time I thought it was necessary only to press OK. But we need to also press "space" in order the Apache option be properly selected (with a *).

I've uninstalled phpMyAdmin and reinstalled, but this last time properly selecting that Apache option, and now it's working fine.

What Linode guide did you use? I can't find the one I used on in the Linode docs… for Ubuntu 18.04 or 20.04. Where did they hide it?

I'm going to spin up a new 22.04 Ubuntu server and will need it again.

Well, I followed one at DO, once the one I found here at Linode was a bit oudated.

I have Ubuntu 22.04, and it is running fine now.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct