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

HTTP forwarding based on dns name?

Does astaro somehow support redirecting HTTP request on one internet IP to multiple Local Server based on the dns provided in the request?

Such as

www.mylinuxhttp.com goes to IP: X.X.X.X -> LocalIP(10.1.0.100)
www.mywinhttp.com goes to IP: X.X.X.X -> LocalIP(10.1.0.200)

Thanks!


This thread was automatically locked due to age.
  • Normally firewall/utm devices just simply look at the inbound NAT rules setup and forward to the defined internal IP. Most devices do not check the actual URL that has been requested and I am sure that Astaro is the same.

    If you have 1 public IP then you can setup 1 Internal webserver

     NAT TO 

    If you have more than 1 public ip you can set each IP to NAT to a different internal IP

     NAT TO 
     NAT TO 
    etc..

    Hope this helps
  • x-cimo, I didn't participate in the V8 beta, but I think it does what you want.  You might check out the documentation for it.  Otherwise, I think YellowMonkey05 gave you the only possible solution with earlier versions unless you use an alternate TCP Port.

    Cheers - Bob
     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
  • x-cimo I have just looked at the ASG V8.0 demo Here and yes I think BAlfson is correct, using the new Web Application Firewall feature on V8.0 you can setup real web servers on your internal network and then create virtual web servers and associate individual domains to these. So it is possible to run multiple internal web servers and use only 1 public IP, great feature if it works as advertised.

    Looks like upgrading to V8.0 would do what you want but take a look at the online demo first to see if it is what you are looking for.

    Thanks.
  • One quick caveat x-cimo. If your are using Astaro for business and therefore are a subscription customer, WAF is licensed separately from other services in Astaro like Web, Mail, or Network Security. If this is the case, you'll have to contact your reseller to find out the amount of the additional cost for WAF.
     
    You can put more than one website onto a single server and internal IP address.  The web server software (IIS, Apache, Etc.) can route requests appropriately by using the host header information.
    __________________
    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
  • Thanks everyone, the Web Application Firewall feature does the trick [:)]

    I couldn't do it at the webserver level, cause im actually splitting between 2 different box.