Koozali.org: home of the SME Server

iBays on server behind e-Smith gateway

Jim Huneycutt

iBays on server behind e-Smith gateway
« on: October 07, 2002, 03:27:51 AM »
I am trying to access the ibays on an e-Smith server-only behind an e-Smith server-gateway. So if someone enters www.myibaydomain.com they should see the website on my e-Smith server-only system residing in that ibay.

I have tried setting up virtual domains on the gateway and changing the hostnames to "local" and using the ip address of the server-only machine. This does not work. I still get the primary ibay on the server/gateway when I key in the domain name in a browser.

Note: both servers are 5.5. I have previously tried the port-forwarding add-in. That also did not work for me so I removed it.

Has anyone solved this problem? I would like to be able to handle multiple server-only systems with ibays behind the server-gateway.

Thanks,
jim

chris meredith

Re: iBays on server behind e-Smith gateway
« Reply #1 on: October 07, 2002, 07:56:03 PM »
Do you want all you web traffic to go to the server only box?  If so, use the portforwarding ip to send port 80 (and 443 if you use ssl) to the Server only box, then setup the virtual domains on the Server Only box.

If you only want some web traffic going to the internal box its going to be harder.  Search on ProxyPass.  You will need to use ProxyPass to forward the appropriate web address to the internal server, then setup the virtual domains on the internal server.

Jim Huneycutt

Re: iBays on server behind e-Smith gateway
« Reply #2 on: October 08, 2002, 09:05:18 AM »
Thanks for the reply, Chris. I have installed portforwarding on the gateway and routed port 80 to the internal ip address of my server-only machine.. So far, I have not been able to get any of my web sites to work behind the server/gateway. All port 80 traffic is still showing up under the primary of the server/gateway machine (i.e. the "under construction" page is displayed). Note that I have made no changes to the server-only machine and it was working perfectly with all the ibays/virtual domains when I used a small router to route port 80 to the server.

My attemps with ProxyPass were also a complete failure, perhaps because the instructions were a bit sketchy. Setting up a virtual domain on the server/gateway to match the one on the server-only, I then created a ProxyPass entry via the server-manager panel to direct that domain to the IP address of the server-only machine. I tried http://192.168.0.1/ as well as http:/192.168.0.1/ibayname. Neither one works. The traffic is still directed to the primary ibay on the server-gateway.

While I experimented with the ProxyPass URL choice, I did not fully understand what it was looking for in terms of the source path and how that would relate to one of my virutal domains.

Since it seems necessary to create virtual domains on both the server/gateway and the server-only machines, I am wondering if I need to modify the hostnames or perhaps delete them. I noted that I had to created the virtual domain on the server-gateway or it would not be a choice in the drop down box for virtual domains in the ProxyPass panel

Both machines in this case are ver 5.5 with Update2 applied.

Logically, it sounds like ProxyPass is the right choice, since I don't necessarly want to route all port 80 traffic to one machine but would rather route based on the url that was entered so the www.acme.com goes to a particular machine. However, someone (it may have been you) reported that ProxyPass appeared to slow - and slow I don't need on top of all the other configuration issues and challenges that e-Smith presents.

Thanks again for your help and if you have any instructions/advice on ProxyPass, please let me know.

jim

Craig Bursey

Re: iBays on server behind e-Smith gateway
« Reply #3 on: October 13, 2002, 07:24:30 PM »
Jim,

Sorry I can't be of any help to you but maybe you can help me?  How do you have the two SME servers setup?  I've been trying to setup two SME's, one as S/G and the other Server Only for a while with no success.  I can access the S/G but not the SO.  I'm only using Windows WorkGroup to try and do it, so that might be the problem, but if you could shed some light on how you are doing it then maybe....just maybe!! I could to.  :-)

Thanks,

Craig