How to add encryption to Nextcloud 19.0.6

Hello all,

I’m seeking some advice from other Nextcloud users on how to get end-to-end web encryption. I currently have my Nextcloud running on a VM on my windows machine. I’m able to access it locally and remotely with either my IP addresses or over WAN, I have my domain name pointed to my IP address. I have been struggling with this for a while. Is it something I have to do with my domain settings? I’m really not sure how to proceed. I’ve tried Certbot and many other encryption modules and all of them give me the same result where I can’t access my Nextcloud over LAN or WAN using my IP address’ or with my domain causing me to have to reinstall Nextcloud. I currently have my Nextcloud running on a Ubuntu 20.04 VM. I’m just 18 and don’t have the knowledge of encryption or anything like that.

Any help would be fantastic!