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 5 Lite panel configuration file:
Path templates can use the $site macro, which expands to the domain from which the transition is made.