The Requested URL /phpmyadmin was Not Found on this Server

The Requested URL /phpmyadmin was Not Found on this Server

The error the requested url /phpmyadmin was not found on this server occurs when the path to the phpmyadmin file is missing or an incorrect file path is set in apache2.conf.

To fix this error, you have to open the apache.conf, and add phpmyadmin file path “include /etc/phpmyadmin/apache.conf” in apache.conf file.

How to Fix the Requested URL /phpmyadmin was Not Found on this Server Apache Ubuntu

Here are some steps to set the correct phpmyadmin path on apache2.conf file to the requested url /phpmyadmin was not found on this server apache/2.4.54 ubuntu:

Step 1 – Open Terminal Window

Press Ctrl+alt+t on the keyboard, to open your terminal window.

Step 2 – Edit apache2.conf

On Terminal Windows type the sudo nano /etc/apache2/apache2.conf command and press enter, this will open the apache2.conf file:

sudo nano /etc/apache2/apache2.conf

Step 3 – Add phpmyadmin File Path

To add the phpmyadmin file path to the apache2.conf file, Simply add “include /etc/phpmyadmin/apache.conf” in apache2.conf file:

Include /etc/phpmyadmin/apache.conf

Save and close the apache2.conf file from the terminal window.

Step 4 – Restart Apache Web Server

To apply changes to Apache2.conf file, simply type sudo service apache2 restart command on terminal windows, this restarts Apache 2 web server and applies all changes:

sudo service apache2 restart

Step 5 – Access PHPMyadmin

Now open your browser and type the below url with your server ip address or localhost to verify:

http://[SERVER_PUBLIC_IP]/phpmyadmin

And now you can see that the requested url /phpmyadmin was not found on this server, it has been fixed, and can access your phpmyadmin on localhost or cloud server:

Conclusion

That’s it; You learned how to set the correct phpmyadmin file path in the apache2.conf file on apache ubuntu, which fixes the error requested url /phpmyadmin was not found on this server.

Recommended Linux/Ubuntu Tutorials

AuthorAdmin

Greetings, I'm Devendra Dode, a full-stack developer, entrepreneur, and the proud owner of Tutsmake.com. My passion lies in crafting informative tutorials and offering valuable tips to assist fellow developers on their coding journey. Within my content, I cover a spectrum of technologies, including PHP, Python, JavaScript, jQuery, Laravel, Livewire, CodeIgniter, Node.js, Express.js, Vue.js, Angular.js, React.js, MySQL, MongoDB, REST APIs, Windows, XAMPP, Linux, Ubuntu, Amazon AWS, Composer, SEO, WordPress, SSL, and Bootstrap. Whether you're starting out or looking for advanced examples, I provide step-by-step guides and practical demonstrations to make your learning experience seamless. Let's explore the diverse realms of coding together.

Leave a Reply

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