How to Change PHPMyAdmin Login URL Ubuntu 22.04

In this tutorial, i am going to show you how to secure and change the PHPMyAdmin login access URL in ubuntu 22.04.

if local: localhost/phpmyadmin otherwise it would indeed be http://{ipaddress}/phpmyadmin I would start by making sure all the server software is running (apache, mysql etc). It’s not on local network.

How to Change and Secure Default PhpMyAdmin Login URL Ubuntu 22.04

In ubuntu, default phpmyadmin login url can be located at apache configuration that name apache.conf.

So, you can use sudo nano /etc/phpmyadmin/apache.conf command to open apache.conf file:

sudo nano /etc/phpmyadmin/apache.conf

Then, you can add the following line with your phpmyadmin url:

Alias /my-phpmyadmin /usr/share/phpmyadmin

Note that, you can replace my-phpmyadmin to your own word.

Now you need to restart apache 2 web server. So type the following command on your ssh terminal to restart apache service:

sudo service apache2 restart

More Tutorials

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *