controller_home>/appserver/glassfish/domains/domain1/config/domain.xml
file:<jvm-options>-Dappdynamics.controller.ui.deeplink.url=<<new_deeplink_url>></jvm-options>
Newer Controllers (versions 4.2.15+) follow these instructions:
curl -k --basic --user root@system --header "Content-Type: application/json"
--data '{ "controllerURL": "http://<controller>:<port>" }'
http://<controller>:<port>/controller/rest/accounts/<ACCOUNT-NAME>/update-controller-url
select id, name, controller_url from account where name like '%<ACCOUNT-NAME>%';
This is great and worked for me!