Keywords: Canvas LMS - Google Cloud Platform - Technical issue - Domain Name (DNS)
bnsupport ID: 1db59490-2250-d621-59b1-b7180feb68f0
I am using bitnami to create an instance of the Canvas LMS in Google Cloud. I am following the configuration instructions/documentation and want to setup a Domain to point at this server. When it was first created I was given the raw IP address of the server, which worked.
Now I have setup my domain to point at that IP and used the Lets Encrypt setup tool to generate a certificate, which worked fine and I am able to navigate to the site using my new domain.
I setup the smtp server to send mail through MailGun and that is working, however the links that are included in those emails are using the raw IP address of the server, rather than my domain. This causes an issue because chrome and other browsers don't like the non-htttps links, and I would like those links in the email to use the domain rather than the raw IP of the server.
I attempted to change the domain/hostname of the server using instructions here: https://docs.bitnami.com/bch/apps/canvaslms/administration/update-ip-hostname/
which has me run a command like so:
sudo /opt/bitnami/apps/canvaslms/bnconfig --machine_hostname www.mydomain.com
However after running that command the site goes down and I can no longer access it via the domain or the ip address. So I am not sure if that command is even meant to do what I want.
So my question essentially is, how do I change the domain/base url that is used in the links that Canvas sends out in emails?
Any help is greatly appreciated!