• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Publishing multiple web servers

Scheduled Pinned Locked Moved Firewalling
7 Posts 5 Posters 5.1k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H
    himala
    last edited by Aug 14, 2007, 1:28 AM

    Hi guys im new to the PFSENS
    I am trying to publish 3 web servers with deferent Doman names. Those web servers locate in my lan with individual server ( 3 servers)
    I have only one public IP address
    If anybody knows how to do this please let me know
    Thanks in advance

    1 Reply Last reply Reply Quote 0
    • G
      GruensFroeschli
      last edited by Aug 14, 2007, 1:57 AM

      if you want to do the part of differencing to which server to send the traffic based on address?: not doable.

      you can do this with apache and virtual hosts: http://webhosting.devshed.com/c/a/Web-Hosting-HowTos/Configuring-Apache-Intermediate/

      We do what we must, because we can.

      Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

      1 Reply Last reply Reply Quote 0
      • H
        himala
        last edited by Aug 14, 2007, 12:33 PM

        Hi
        Thank you for the replay

        I have 3(three) deferent web servers (not virtual servers) actual server boxes
        Each Box Have deferent domain name ex. server1.com, server2.com and server3.com
        I need to direct the web traffic depend on the domain name to specific server

        ( I have MS ISA2004  on that firewall I can do that using web listener . I am trying to move on from Microsoft  :))
        Thanks

        |
                                    Fire Wall
                                        |
                                        |
                _______________________________
              |                        |                      |
            Web                      |                    Web
          Server1                    |                  Server3
                                        |
                                      Web
                                  Server 3

        1 Reply Last reply Reply Quote 0
        • T
          tacfit
          last edited by Aug 14, 2007, 12:35 PM

          Hmm… I switched from MS ISA to pfsense also, but as far as I'm aware you can't filter based on URLs with pfsense.

          1 Reply Last reply Reply Quote 0
          • C
            Cry Havok
            last edited by Aug 14, 2007, 1:52 PM

            You may want to look and see if the Squid package includes reverse proxy support.  The squid documentation suggests that this will do what you want - see this Squid WIKI article.

            1 Reply Last reply Reply Quote 0
            • S
              sterilegenie
              last edited by Aug 19, 2007, 11:58 PM

              @himala:

              Hi
              Thank you for the replay

              I have 3(three) deferent web servers (not virtual servers) actual server boxes
              Each Box Have deferent domain name ex. server1.com, server2.com and server3.com
              I need to direct the web traffic depend on the domain name to specific server

              ( I have MS ISA2004  on that firewall I can do that using web listener . I am trying to move on from Microsoft  :))
              Thanks

              |
                                          Fire Wall
                                              |
                                              |
                      _______________________________
                    |                        |                      |
                  Web                      |                    Web
                Server1                    |                  Server3
                                              |
                                            Web
                                        Server 3

              What you want is doable but it has nothing to do with your firewall. You need to setup virtual servers on one of your boxes and point the virtual servers to the machines you want the traffic to go to

              1 Reply Last reply Reply Quote 0
              • T
                tacfit
                last edited by Aug 20, 2007, 2:54 PM

                Interesting. You could that.
                If you're using IIS, you would first NAT all web traffic for those 3 sites to a single instance of IIS, configured with multiple websites. You'd need to set the host header values of those websites to respond the URL requests. Then, modify your hosts file (c:\windows\system32\drivers\etc\hosts) to point traffic for those URLs to the appropriate web servers inside your LAN.

                Following along? I think that should work. If more than 1 of these sites are secure though, you may run into complications.

                1 Reply Last reply Reply Quote 0
                7 out of 7
                • First post
                  7/7
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                  This community forum collects and processes your personal information.
                  consent.not_received