Koozali.org: home of the SME Server

Forward web virtual domain requests to internally located machine

Offline mchettle

  • *
  • 11
  • +0/-0
I have a need to forward web services to an internally located machine, for one of my virtual domains. I would also like all sub-domains to go to the same machine.

Is this possible with SME 8 and can anyone point me to a how-to or give me instruction on how to do it.

Thanks, in advance.

Mark

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Forward web virtual domain requests to internally located machine
« Reply #1 on: August 11, 2012, 12:39:52 PM »
mchettle

You need to describe your existing network layout,
ie router is the gateway ?
sme in server & gateway mode is the gateway ?
is the other server an sme in server only mode, or another windows server or what ?
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline mchettle

  • *
  • 11
  • +0/-0
Re: Forward web virtual domain requests to internally located machine
« Reply #2 on: August 11, 2012, 12:58:12 PM »
SME Server is in Server Gateway mode, with 2 network cards, one for WAN, one for Local network.

This is connected to a modem/router set to bridge mode to pass everything straight through to the SME server.
The internal network is DHCP managed by the SME server.
The recipient servers will not be SME machines.

Regards
Mark

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Forward web virtual domain requests to internally located machine
« Reply #3 on: August 11, 2012, 01:08:35 PM »
mchettle

Please read the FAQ, look for proxy pass
http://wiki.contribs.org/SME_Server:Documentation:FAQ
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline mchettle

  • *
  • 11
  • +0/-0
Re: Forward web virtual domain requests to internally located machine
« Reply #4 on: August 11, 2012, 01:22:10 PM »
Thank You, some questions however.

Because one has to remove the virtual domain from the SME server before setting up the ProxyPass, does this mean the SME server will no longer be able to manage emails to that domain name?
What other implications are there when doing this? Is it only for http requests, what happens to other port requests, such as ftp, etc.

Thanks
Mark

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Forward web virtual domain requests to internally located machine
« Reply #5 on: August 11, 2012, 02:26:51 PM »
mchettle

You original question was
"I have a need to forward web services to an internally located machine"
and it was answered accordingly, ie to use proxy pass.

If you want to do other things please ask the whole question, rather than asking in bits an pieces, it just wastes our time as the answer will change if the question changes.
So what do you really want to do, in totality ?
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline mchettle

  • *
  • 11
  • +0/-0
Re: Forward web virtual domain requests to internally located machine
« Reply #6 on: August 11, 2012, 03:11:14 PM »
I apologize for any confusion. I wish only to forward the web services to an internal server, retaining (if possible) the mail services on the SME server.

I am working my way through the links provided (thank you). [a bit like playing snakes and ladders], and am getting a bit of a handle on the ProxyPass process. It looks like it will do what i want, but need to study all the ramifications so as to get the best configuration for my needs.

Regards Mark.

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Forward web virtual domain requests to internally located machine
« Reply #7 on: August 11, 2012, 03:15:06 PM »
mchettle

Using proxy pass should achieve what you want.
AFAIK it is still a domain that is valid on your gateway server, it's just entered differently.
Just do it, if you don't like the outcome just change it back.
SME is very easy to reconfigure like this.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.