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

Multiple Webservers

Setup: Our school district currently has 12 websites running on 12 seperate Windows 2000 servers behind our ASL 5.103 firewall.  As of right now, we own 254 public ip addresses so I have just been updating the DNS to show that school X is a certain IP and adding that to my external interface as an additional address on that interface.  Using SNAT/DNAT I have been able to operate this way with no problems.

Situation:  We are considering switching to a new provider and if we go with them each additional IP is $10-$15.  Once we add up the price of the IPs we actually use ( not all 254 ) it becomes cost prohibitive to make the change.

Question: If we are restricted to the 1 public IP will the ASL box be able to determine which site the traffic was intended for based on the HTTP header info or will I have to resort to running the sites on different ports and using the SNAT/DNAT to route the packets?


I hope the above wasn't too confusing.


This thread was automatically locked due to age.
  • ASL doesn't have anything that would look at the HTTP headers (unless you modify the SQUID configuration to make it act as a reverse proxy)

    I'd suggest putting all the sites on 1 web server, but otherwise you'll need some sort of load balancer or reverse proxy or multiple ports.

    Barry
  • There was a time when we had the other sites setup as "Virtual Directories" and one main machine running the IIS, but if / when that mahcine went doen it took all the sites down with it. 

    Would like to avoid doing that again if at all possible.


    Thanks,
  • Your best bet would be to do this:

    Consolidate all websites onto one machine
    Replicate that machine to a few others
    Setup Load Balancing under the SNAT/DNAT section.
  • ReD-MaN:  While this would work, one of the reasons for not consolidating the websites is that there are no two sites located at the same physical site.

    We have 12 different physical locations that are connected via T-1 lines.  Some of the sites have pretty heavy loads on them due to lessons / projects being web based at that school.  If the data had to pass over the T-1s it would be much slower than accessing it localy.

    So it looks like we may have to stay with our old provider or talk the new one down a bit on their prices.

    Either way, i was just wondering if the ASL had something like the IIS that would have let me use the same IP for multiple sites and route things to the right location.  Guess not.

    Thanks for the responses,
  • ..... router  [1 public IP]
    ....... |
    ....... | ---------- reverse proxy [2 public IP  www.mydomain.com]
    ....... | .........  (apache ...blue coat etc.) 
    ....... |----------- with a host header to ip switch  
    ....... |                 and routes to www1 - www.x
    ....... |
    ......ASL   [3 public IP]
     ... |.......... |....... |.......... |    
     www1.   www2.   www3.  www4.mydomain.com


    http://httpd.apache.org/docs-2.0/mod/mod_proxy.html