This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Reverse Proxy with a single hostname

Hi everybody,

there's one thing I wanted to clear up:

I have only a single public hostname. What I would like is:

Request from Internet to http(s)://publicdomainname.com/applicationXYZ

which Astaro directs to http(s)://internalhostname/somewebinterface

As far as it seems to me Astaro can only redirect requests by filtering hostnames, not get-submitted-paths, can it not?


This thread was automatically locked due to age.
  • Correct, only by hostname.

    To do the kind of rewrite that you want, you would either need to use mod-rewrite with Apache, or the rewrite module in IIS 7+.  Another possibility is to change things up a bit on the external side, so that the client would connect to http(s)://applicationXYZ.publicdomainname.com, then use hostheaders (IIS)/virtual hosts(Apache).
    __________________
    ACE v8/SCA v9.3

    ...still have a v5 install disk in a box somewhere.

    http://xkcd.com
    http://www.tedgoff.com/mb
    http://www.projectcartoon.com/cartoon/1
    • Awesome, I wasn't aware IIS had meanwhile learned how to do that. It's working. Thanks a lot :-)

      My public domain is a dyndns address. In the past I've handled this with subdomains of it (like you proposed). But Dyndns eventually dropped wildcard support for free users.

      Nevertheless I'd consider integrating the feature into ASG. That way I could put a webserver into a DMZ (simply a port connected only to Astaro) and use it with a single domainname.