Configure the Ghost domain name

Ghost requires the domain name to be specified in the /opt/bitnami/apps/ghost/htdocs/config.production.json file. For example:

    url: 'example.com',

Set your own domain name in this file manually or change it automatically with the bnconfig configuration tool:

$ sudo /opt/bitnami/apps/ghost/bnconfig --machine_hostname example.com

Then, rename or remove this tool so that it does not change again at boot time:

$ sudo mv /opt/bitnami/apps/ghost/bnconfig /opt/bitnami/apps/ghost/bnconfig.back
Last modification April 8, 2020