Greetings. I am working on projects from home. Since this is at home, it's a regular cable modem to wireless router arrangement. External ports 80 and 443 and port forwarded in the router to the internal IP of the linux webserver 192.168.1.100.
I also need to share project files back and forth with colleagues. Owncloud comes as a virtual machine appliance that is entirely self contained and runs under Oracle VirtualBox -- 192.168.1.200 on the same computer that is the web server.
I tried using ownCloud's Let's Encrypt module to specify owncloud.mydomain.com. I have the DNS record set up with a CNAME of owncloud.mydomain.com to point to the IP address of my house. Since ports 80 and 443 are already being used by a Linux webserver at my house, I set up the router to redirect incoming Port 121 traffic to the virtual machine's Port 443 (192.168.1.200).
I can reach the ownCloud server at https://owncloud.mydomain.com:121 but the browser says:
"Your connection is not private
Attackers might be trying to steal your information from owncloud.stellar7.space (for example, passwords, messages, or credit cards). Learn more
So how do I get HTTPS with 2 different domains, accessing two different computers with 2 different LAN IPs at the same cable modem/router?