Currently, my home has a Tekmar thermostat system which includes a web server. We have a domain,
example.org, and our router currently forwards port 80 (not https) to the thermostat web server. What I want to do is to have my QB server receive the requests, and then dispatch requests for
example.org to the thermostat server, and dispatch requests to
blah.example.org to itself. So basically anything on the blah subdomain goes to QuickBox, and anything without a subdomain goes to the thermostat website. I have tried to use NGINX but cannot really make heads or tails of how to configure this stuff correctly.
Any help much appreciated, I’ll donate if you guys can finally help me figure this out.