Publishing multiple web servers
-
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 -
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/
-
Hi
Thank you for the replayI 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 -
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.
-
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.
-
Hi
Thank you for the replayI 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 3What 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
-
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.