Configure the Open edX domain name
The edX server domain name is the default IP address or domain name assigned when the edX server is launched. In order to configure a different domain name, follow the steps below:
- Log in to the server console.
Change the server domain using the bnconfig configuration tool:
NOTE: Remember to replace the NEW_SERVER_DOMAIN placeholder in the example below with the new server domain name.
$ sudo /opt/bitnami/apps/edx/bnconfig --machine_hostname NEW_SERVER_DOMAIN
Rename or remove bnconfig configuration tool so that it does not change again at boot time:
$ sudo mv /opt/bitnami/apps/edx/bnconfig /opt/bitnami/apps/edx/bnconfig.back