Score:0

Problems setting up a Reverse Proxy on IIS

tw flag

Please forgive the newb question, but I'm a bit out of my depth with this one.

I'm running a Windows 2016 Server at home. I'm trying to set up nextcloud as a personal cloud. I have successfully installed nextcloud as a virtual machine on VirtualBox and can access it on my lan via (let's say) 192.168.1.75. This takes me to the main web application. I can also access the Webmin interface through 192.168.1.75:10000.

I'm wanting to be able to access nextcloud through a domain name (let's say me.org.uk). I have this

I followed this guide HERE to set up a reverse proxy. If I use 192.168.1.75:10000 - I can access Webmin via me.org.uk on LAN (the browsser address gets resolved to 192.168.1.75:10000). However, If I try from outside of my LAN, the url resolves the same and I obviously get an error (as WAN can't access 192.168.1.75:10000).

On the LAN however, if I try to set it up with 192.168.1.75 (to access the web app), I get a 500 - Internal Server Error. I also tried it with 192.168.1.75:80 - I get the same. Finally, I tried it with 192.168.1.75:443 (there's a valid SSL cert against the domain) and get a different error:

# Bad Request
Your browser sent a request that this server could not understand.
Reason: You're speaking plain HTTP to an SSL-enabled server port.
Instead use the HTTPS scheme to access this URL, please.

I've also tried messing around with the site bindings, setting it to 192.168.1.75 for both 80 and 443 requests. Didn't help. I'm not sure what I'm meant to set the bindings to if using URL Rewrite/Reverse proxy.

I hope someone can help as it feels like the last hurdle!

duct_tape_coder avatar
cn flag
The last error regarding SSL is because you used http:// instead of https:// when connecting to the 443 port. Try again with `https://192.168.1.75` (specifying :443 is not necessary with https://)
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.