Remove the MODX cache
If the domain or IP address changes, it will be necessary to remove the MODX cache so that it is reactivated for the new domain. To do so, execute the following command to remove the MODX cache directory:
$ rm -rf /opt/bitnami/modx/core/cache