I’m nearly there except on the last step for installation of NextCloud AIO, my domain is not reachable via port 443. I don’t understand the technical reasons why.
Per the video, the NextCloud Docker server has been set with a static IP, say [192.168.5.5]. I’m also using the DDNS service provided by the router to [mydomain.com].
I have forwarded port 443 to 192.168.5.5.
So when I telnet to 192.168.5.5:443, a connection can be reached. But when I telnet to mydomain.com:443, there’s no connection.
How do I link mydomain.com to the server IP 192.168.5.5? I thought this is the function of port forwarding but I must be mistaken?
Found one mistake - mydomain.com was bound to a different ip from the previous TrueCharts installation. Removing this results in being able to telnet ```mydomain.com`` 443 successfully.
However I’m still getting ‘port 443 is not reachable from within this container’ on the NextCloud AIO install.
I have noticed:
192.168.5.5:80 successfully gets the ‘Congratulations’ page
192.168.5.5:443 successfully gets the 400 Bad Request page
public IP:80 sucessfully gets the ‘Congratulations’ page
public IP:443 gets ERR_SSL_UNRECOGNISED_NAME_ALERT (which suggests something about the SSL certificate?)
mydomain.com:80 gets 502 Bad Gateway (which should be the ‘Congratulations’ page)
mydomain.com:443 gets 502 Bad Gateway (which should be the 400 Bad Request page)
So it seems the problems lies with (?):
SSL certificate configuration
port forwarding
Still can’t see what’s wrong with the settings and how to take the troubleshooting forward…