Announcement

Collapse
No announcement yet.

Routing port 80 to another server

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Routing port 80 to another server

    I've got a question about port 80.

    Here's the situation:

    I've got 2 servers ( A = Sharepoint Server 2007, B= Exchange Server 2003).
    Both servers are using port 80.

    Port 80 is routed in the router via NAT to ServerA (External address: http://serverA.mydomain.nl)

    Is it possible to connect throught serverA to the port 80 of serverB, so that i can connect to OWA via the address http://serverB.mydomain.nl?

    I hope I explained it good enough!

  • #2
    Re: Routing port 80 to another server

    Solution 1

    In your router change the destination to server b.

    Solution 2

    If thats not really what you meant and you meant to point a different address (serverb.mydomain.nl) to serverb and still have servera.mydomain.nl pointing to server a then try this

    add a new A record into external DNS for serverb and point it to a different external address than servera.

    In your router create a new NAT policy to allow port 80 traffic destined for the external IP of serverb to be forwarded to the internal address of serverb.

    e.g

    Source - Any
    Destination - ServerB External IP
    Translated - ServerB Internal IP
    Service - HTTP

    Add a firewall rule to allow HTTP traffic from any destination to serverB External IP on your WAN to LAN side of things.

    Hope that helps.

    Comment


    • #3
      Re: Routing port 80 to another server

      Both servers are in the same network.

      ServerA (IIS 7.0) = 192.168.117.30 (Default server for port 80)
      ServerB (IIS 6.0) = 192.168.117.20

      Do I have to set it up in de DNS of serverA?

      Comment


      • #4
        Re: Routing port 80 to another server

        Are you only going to be accessing from the internal network???

        If you are then is your DNS name mydomain.nl???

        If yer then add an 'A' record in your DNS server that points serverA to a specific address and one for serverB that points to the other record.

        A better description of what your trying to achieve would be good.

        Comment


        • #5
          Re: Routing port 80 to another server

          From inside it is already working.
          But when I want to access it via Internet it doesn't work.

          From internet port 80 is going default to ServerA.

          Comment


          • #6
            Re: Routing port 80 to another server

            Solution 2 will work for you then.

            How many external IP addresses do you have???

            Comment


            • #7
              Re: Routing port 80 to another server

              Yes, I have only one external IP from my provider.

              Comment


              • #8
                Re: Routing port 80 to another server

                You'll need to use a different port number then.

                Try using 8080 instead.

                Comment


                • #9
                  Re: Routing port 80 to another server

                  Originally posted by wullieb1 View Post
                  You'll need to use a different port number then.

                  Try using 8080 instead.
                  I already tried that, but Exchange ActiveSync will not work with port 8080.

                  Comment


                  • #10
                    Re: Routing port 80 to another server

                    Change the port on your other machine then.

                    Change the port for OWA http://support.microsoft.com/kb/240753

                    Unfortunately i don't know of any way that you can redirect 2 HTTP requests to the same IP address to different servers without using different ports.
                    Last edited by wullieb1; 10th September 2009, 12:13.

                    Comment


                    • #11
                      Re: Routing port 80 to another server

                      Well simply it can't be done. The IP is already bind to port 80 so changing the port can help you out..
                      Or move over to https which imho is a better option for OWA
                      Marcel
                      Technical Consultant
                      Netherlands
                      http://www.phetios.com
                      http://blog.nessus.nl

                      MCITP(EA, SA), MCSA/E 2003:Security, CCNA, SNAF, DCUCI, CCSA/E/E+ (R60), VCP4/5, NCDA, NCIE - SAN, NCIE - BR, EMCPE
                      "No matter how secure, there is always the human factor."

                      "Enjoy life today, tomorrow may never come."
                      "If you're going through hell, keep going. ~Winston Churchill"

                      Comment


                      • #12
                        Re: Routing port 80 to another server

                        You could always try creating a new site on ServerA that redirects to ServerB, such as http://ServerA/OWA that redirects to http://ServerB/OWA.

                        I have to admit that I've never tried this so I don't know if it would work or not.

                        Comment

                        Working...
                        X