Installed sudo apt-get instlll phpmyadmin after installing clean virtualmin and on IP/phpmyadmin not working

Installed sudo apt-get instlll phpmyadmin after installing clean virtualmin and on IP/phpmyadmin not working
How to get it to work for all databases?
Whats best solution? I see its possible to install for domain but that isnt good in case i remove domain then ill need to install it again for new domain but how to make it for all domains for ip or other best solution?
Now its not working couse it was working until i added 1st domain and now IP:phpmyadmin wants to download file and not open phpmyadmin.

Howdy,

It won’t work to install phpMyAdmin via your distros packages. That installs things into /var/www, however, Apache is configured to look for websites in /home.

If you’d like to use phpMyAdmin, my suggestion would be to install it via the Install Scripts.

-Eric

Thx