The link to the external function is formed using the internal mechanisms of the control panel. To manage the link formation process, use the path parameters of ISPmanager 6 Lite (Pro, Host) panel configuration file:

  • path webmail-redirect — the mail client template link. The default value: http://$site/roundcube/
  • path phpmyadmin-redirect — phpMyAdmin template link. The default value: http://$site/phpmyadmin/
  • path phppgadmin-redirect — phpPgAdmin template link. The default value: http://$site/phppgadmin/


  1. If you use an nginx proxy, the path parameter will be ignored. path
  2. When you go to phpmyadmin, the link contains the IP address of the control panel. If you have restricted access to phpmyadmin (for example, through the web server settings or the firewall), add the control panel's IP address to the list of allowed ones. Read more in the article How do I restrict access to phpmyadmin?

Path templates can use the $site macro, which expands to the domain from which the transition is made.

If you changed the value of the parameter after the $site macro, also change the web server configuration file. For example, you changed the phpmyadmin-redirect parameter from http://$site/phpmyadmin to http://$site/phpmyadmin_new. The control panel uses nginx as a web server. For the web server to use the changed parameter, add this path in the location section of the /etc/nginx/vhosts-includes/phpmyadmin.conf configuration file:

Example of the configuration file

location /phpmyadmin_new {
	alias /usr/share/phpMyAdmin;
	index index.php;
location ~* ^/phpmyadmin_new/(.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ {
	alias /usr/share/phpMyAdmin/$1;
	error_page 404 @apache;
location ~ ^/phpmyadmin_new/(.+\.php)$ {
	alias /usr/share/phpMyAdmin/$1;
	fastcgi_pass unix:/var/run/php-fpm.apache.sock;
	fastcgi_index index.php;
	fastcgi_param SCRIPT_FILENAME $request_filename;
	include fastcgi_params;
	error_page 502 = @apache;
	error_page 404 = @apache;
location @apache {
	error_log /dev/null crit;
	proxy_redirect /;
	proxy_set_header Host $host;
	proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
	proxy_set_header X-Forwarded-Proto $scheme;

location ^~ /phpmyadmin_new/setup {
	deny all;