Could something like web.in.com I already have many domains like this by using a local dns server to point the urls. And then for proxy I us Caddy which handle SSL/https.
I am self hosting I am trying to change the dev url. It's also not working I thought it was a firewall issue so I turned of the firewall still nothing.