What I need accomplished is when a person out there in internet-land types in www.foo.com they are actually getting served content from srv5.bar.net/~foo
I have root access to both the nameserver ( bind9 ) and the webserver ( apache2 ).
( Yes, I do indeed use sudo rather than running as root )
I already know how to enable the UserDir module to make /home/foo/public_html into srv5.bar.net/~foo which is exactly what I want.
I can also config the A name in dns so that foo.com is by bar.net
I don't know how to make the connection of www.foo.com -> srv5.bar.net/~foo/ I don't even know what this is called to be honest. I don't want to use what I understand to be a cloak that simply puts what I want inside a frame that fills the window.
Just in case it's required, I'm on debian.