|
|
|
|
||||||
| comp.info.servers.win Web servers for MS Windows and NT. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 (permalink) |
|
Messages: n/a
Hébergeur: |
I'm hoping this is possible. The situation is as follows:
I have two web servers, call them ServerA and ServerB. ServerA is Apache, ServerB is IIS. My router is forwarding port 80 to ServerA and port 8080 to ServerB. ServerB is hosting a site, let's call it www.random.com. Unfortunately, I can only reach random.com by using http://www.random.com:8080, but I'd like to keep ServerA serving what it normally does. So, the question is that I'd like to use host headers on ServerA to forward requests for www.random.com on port 80 to ServerB. I tried the following but it did not work: NameVirtualHost 192.168.0.13 <VirtualHost 192.168.0.13:80> ServerName www.random.com </VirtualHost> Do I need to somehow do this at the router layer, or is there some kind of third party software I can use? If it is either of those, do you have any suggestions? Thank you! Kevin |
|
|
|
#2 (permalink) |
|
Messages: n/a
Hébergeur: |
Kevin wrote: > I have two web servers, call them ServerA and ServerB. ServerA is > Apache, ServerB is IIS. My router is forwarding port 80 to ServerA and > port 8080 to ServerB. ServerB is hosting a site, let's call it > www.random.com. Unfortunately, I can only reach random.com by using > http://www.random.com:8080, but I'd like to keep ServerA serving what > it normally does. > > So, the question is that I'd like to use host headers on ServerA to > forward requests for www.random.com on port 80 to ServerB. A reverse proxy is probably what you want. Details are available on the Apache web site. Thor -- http://www.anta.net/OH2GDF |
|
![]() |
| Outils de la discussion | |
|
|