How to assign a separate domain for PHPMyAdmin?

Hello! Please tell me how to assign a separate domain for PHPMyAdmin? The computer is Ubuntu 16.04 x64 and raised local web server, Apache 2.4 + mod_php(7.0) + Nginx as reverse proxy.
PHPMyAdmin open the link localhost:portapack/phpmyadmin
All sites on the local domain zone .loc
How to make PHPMyAdmin opened at phpmyadmin.loc ?
June 27th 19 at 15:15
2 answers
June 27th 19 at 15:17
Solution
For example, configuring nginx, making it a separate site with a redirect to /phpmyadmin
June 27th 19 at 15:19
Solution
busy-brain.ru/post/8 - there is about Debian and the output of phpmyadmin on the server ip, but I think for Ubuntu and domain name will all the same

Find more questions by tags ApacheNginxphpMyAdmin