Hi
I am not sure if I have followed this thread correctly but I think you are wanting a dual sme server setup. The following is a quickie how-to and I am sure I will have missed something, so apologies up front if you find you need to really *think* about what this is doing.
I use two sme servers:
main server 'A' is a server/gateway and connects to the cable modem
server 'B' is a sme server used for mysql/web server with multiple postnuke sites
(theres also an NT4 server behind the gateway)
I configure server A with virtual domains for whatever domain name I need and remove all hostnames except the mail and www hosts.
I then have a custom template
/etc/templates-custom/etc/httpd/conf/httpd.conf/80VHost-domainname
(i.e. 80VHost-www-fred-com-au)
which contains
ServerAdmin webmaster@fred.com.au
DocumentRoot /www/html/fred
ServerName www.fred.com.au
ProxyPass / http://fred.home.local/
ProxyPassReverse / http://fred.home.local/
ErrorLog /var/log/httpd/error-fred.log
TransferLog /var/log/httpd/access-fred.log
On server A I create a directory (empty) for /www/html/fred which serves as the anchor for the ProxyPass setting. You also need to add the fred.home.local system into the local hosts file, noting that I will assume that the local lan domain is referenced as home.local (using a custom template for the /etc/hosts file is an easy way to manage this)
On server B I have the same virtual domain declared and an ibay setup for the specific web site to be serviced, ie Server B must know that it may be called fred.home.local
Theorectically, server A is the host for
www.fred.com.au and is listed in an external dns (I use
www.ddns.nu for freebie dynamic dns in Oz)
Server A receives a request on port 80 for
www.fred.com.au and apache refers to the virtualhost segment and knows that it will proxypass this to another host called fred.home.local (ie it uses the custom template segment we made)
Server A does a lookup in the local dns/hosts file and will discover the local ip address for fred.home.local (this is found because we added it in the hosts template or the hostnames panel of sme server with the appropriate local ip address)
Server B gets the proxypassed request from server A and deals with it as it would for any ibay via its own apache control file.
Check out
www.recovertoy.bpa.nu or
www.shotmaker.bpa.nu as examples. One site runs on an NT4 server behind the sme server gateway and the other is on a second sme server behind the same gateway.
Apache proxypass is ideal for this sort of re-direction. However, I cannot seem to get the proxypass panel option for sme server to function in the same way. I think the issues with the proxy pass panel relate to sequencing problems within the httpd.conf file and precedents being set by the default configuration. The proxypass panel will work with some ports but not others depending on what you are trying to redirect.
Hope this helps and if I have missed a step in this late-at-night response please let me know.
cheers
Tony