Control Panel and Landing Page issues onn LXD containers

I have a set of server containers hosted through ISPConfig. Right after I changed the settings within the dashboard to automatically redirect the site to the ssl site as I have done before, I am having issues accessing the primary domain. Any insight to address this issue would be appreciated.

I also have another issue pertaining to Nextcloud on the same lamp container. I activated the two-factor authentication using backup codes, and since then, I am unable to login in. I tried to disable two-factor authentication without much success. Any suggestion for this one would also be appreciated.

Good news. Nextcloud error addressed. For solution, please see the below thread:

However, the first one needs to be still addressed. Any insight from the community would be appreciated.

Control panel issue resolved too.

For details,