Hello all, im rather new here, and worked a little with nextcloud before, but now i want to make a fully dependable system based on nextcloud
Currently my network set up is as follows:
outside world -> apartment block firewall = (forwarded) 8087:firewall to 443:routerIP / 8086:firewall to 80:routerIP -> router 80/443 -> server 443/80
im also using No-IP with paid hostname and DNS but im having to use a port 80 redirect to my ip because of the firewall
i can access my server using http://domain.com but then it redirects to my IP address: xx.xx.xx:8086
i was fine with this while i was setting up the system, but now i want to use SSL / HTTPS and have my domain name show in the address bar and not the public IP.
i have been playing around a little, and managed to gain access using http(s)://XX.XX.XX.XX:8087 but this shows up as insecure, and when i type in my domain name (redirect currently set to :8087) it redirects to http://domainname.com and then i get bad request from apache:
You’re speaking plain HTTP to an SSL-enabled server port.
Instead use the HTTPS scheme to access this URL, please.
Im also trying to use letscrypt, and ive already generated the certificates
Any help would be greatly appreciated in allowing me to get the domain name showing properly in the address bar and also the HTTPS config
Thank you!
error when using domain name (with HTTPS://):
access (but unsecurely via https://IPADDRESS:8087: