You can set the environment variable APPDYNAMICS_CONTROLLER_HOST_NAME in the Environment variables of the machine (or process) like any other environment variable. This will override the JSON values that are set.
Linux export APPDYNAMICS_CONTROLLER_HOST_NAME=yourcontroller
Windows
setx APPDYNAMICS_CONTROLLER_HOST_NAME=yourcontroller Note: setx is part of Windows 2008 and higher and will take effect in new sessions / command prompts. It is persistant unlike the set command.
... View more