Results 1 to 5 of 5
  1. #1
    Newbie
    Join Date
    Jul 2010
    Posts
    4

    Default Publish same port to several servers

    How i can publish several sites or services (same port 80) in diferent servers? any idea

  2. #2
    Untangle Ninja sky-knight's Avatar
    Join Date
    Apr 2008
    Location
    Phoenix, AZ
    Posts
    16,913

    Default

    You don't... you can only use one port per IP address. So if you have multiple WAN addresses you can forward 80 from each IP to a separate web server. Or, you can configure a reverse proxy.

    Personally I do the latter, it allows me to operate multiple web servers off a single IP and TCP 80 port, and the proxy chooses internal web resources based on host name.
    Rob Sandling, BS:SWE, MCP
    Intouch Technology
    Phone: 480-272-9889
    rob@intouchtechllc.com

    UntangleAppliances.com
    Phone: 866-794-8879

  3. #3
    Untangle Ninja Mathiau's Avatar
    Join Date
    Feb 2008
    Location
    Costa Frickn' Rica
    Posts
    1,530

    Default

    or you could just use Virtual hosts on your webserver application, apache or IIS as well.
    Def1:9.3.2 x64 |Intel Mobo| Intel i7 860 2.8Ghz Quad with HT| 8G DDR3 13333 | 80G Intel SSD | 4x Intel Pro 1000 GT NIC's_ 1 Intel dual port Gigabyte NIC | Corsair 550W PSU | 50mb/50mb | 45 users

  4. #4
    Master Untangler
    Join Date
    Apr 2007
    Posts
    613

    Default

    Quote Originally Posted by sky-knight View Post
    You don't... you can only use one port per IP address. So if you have multiple WAN addresses you can forward 80 from each IP to a separate web server. Or, you can configure a reverse proxy.

    Personally I do the latter, it allows me to operate multiple web servers off a single IP and TCP 80 port, and the proxy chooses internal web resources based on host name.
    This statement is "mostly" true....if some service port is being hit anonymously you cannot have multiple addresses to a port.

    However if you have specific ip's that are trying to communicate over port 80 you can port forward 80 to different internal machines depending on the source ip address.

    Sky, do you use a dedicated box to perform your reverse proxy?

  5. #5
    Untangle Ninja sky-knight's Avatar
    Join Date
    Apr 2008
    Location
    Phoenix, AZ
    Posts
    16,913

    Default

    Yes, I have a debian VM that acts as a LAMP server as well as provides reverse proxy for specific DNS names that need to be bounced off an internal IIS server.
    Rob Sandling, BS:SWE, MCP
    Intouch Technology
    Phone: 480-272-9889
    rob@intouchtechllc.com

    UntangleAppliances.com
    Phone: 866-794-8879

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

SEO by vBSEO 3.6.0 PL2