first of all thankyou for anyone taking the time to view and help with this issue.
I am unsure why this is happening and any help would be appreciated. Thankyou.
I was able to resolve this, however I am unsure if this solution was just specific to my case as I am running an Azure VM as the server. I posted my solution on the bitnami community forum Link to solution
The problem in my case was with the way the domains had been set up. So I had to change the domains in domain.yml of the canvas instance and then run the bn-cert tool to get https working for both the sub domains. The solution explains it.
I hope this helps.