Web Reverse Proxy works... but now I need FTP Reverse proxy...
Thanks to a Mr Hoffman whose purposely vague responses (it's a compliment by the way, makes you figure it out yourself, otherwise why are you here...right?).
Anyway I was forced to figure out a solution to linking a computer on my LAN to accept incoming traffic to a subdomain.
I added the subdomain web site to the MAC GUI, but then went and edited the .conf file in /Library/Server/Web/Config/apache2/sites/0000_any_80_mysite.mydomain.com and deleted the auto configuration entirely and replaced it with:
<VirtualHost *:80>
ServerName mysite.mydomain.info
ProxyPreserveHost On
ProxyRequests off
ProxyPass / http://192.168.0.6/
ProxyPassReverse / http://192.168.0.6/
</VirtualHost>
So now any queries for my subdomain are now directed to the correct location and server (A VBox Ubuntu 12.04 LTS) that is actually on the same box as the MAC but in theory it is a seperate computer on the local area network.
So now I have an issue because when I FTP into the afore mentioned site it defaults to the MAC Server set up of FTP which is kind of curiously lacking the ability to set up multiple FTP site log-ins. 😮
So I guess I need to do same as above but for FTP access, trouble is I added it to above file and everything broke. So is there another conf file I could tweak to push FTP services to the subdomain.
Believe me, I've tried sharing directories with the Virtual Box and having the web site point to the FTP default of the MAC but you can't see the files other than that of the MAC server's files.
Need to FTP into the subdomain to start populating the site with content via Dreamweaver but can't get to it. Any clues? Don't have to tell me full answer. But if it requires a secondary .conf file to reverse proxy then do tell.
However, if it gets to be too tricky, I might just blow the MAC server and just install Ubuntu native on the mac mini, but I kind of like the combo.
Oh and before you ask, FTP ports are open for above IP on Cable ISP router box.
Cheers
iMac, Mac OS X (10.5.1)