Now here is a tricky question.
Can you define a hostname, to redirect/proxy to a port?
The company that I work at has recently introduced draconian security measures, so now all external traffic is limited to just port 80. So, no SSH, no IMAP, no SFTP, and no VPN.
What I thought would be a nice workaround would be to create a number of subdomains, such as imap.domain.com, ssh.domain.com and so on, then proxy those requests to the specified port.
Not really the cleanest solution I know. I did try this once under 6.x using ProxyPass, but it seems to want to redirect to another IP, instead to a different internal port.
Thanks in advance!
Geoffrey