You can set it up through a domain or subdomain.
apt-get install phpmyadmin
When it asks you what your web server is, choose neither of the given options and continue.
Setup a new domain or subdomain and set the document root to:
That domain/subdomain should then take you to phpmyadmin.
If you have any questions, I can try to help you out.
Feel free to message me on discord: ImJT#8937