I configured the IIS Web site and the Apache Web site in the form of a dual LAN IP on the server, respectively.
such as IIS using IP is 192.168.3.114:80,apache using IP is 192.168.3.115:80
Then I want to use Apache reverse proxy to enable users to access the 8080 port of the extranet IP when the switch to 192.168.3.115:80
How does a virtual host write?
Here are some of my own code to write, how to change? Ask the great God for advice!
Namevirtualhost *
ServerName www.h.com
proxypass/http://192.168.3.115/
proxypassreverse/http://192.168.3.115/
Reply to discussion (solution)
Apache you absolutely can't boot up, after the same port in a computer is occupied, it cannot be assigned to another program unless you close the first program and then enable the second program.
====================
According to your thinking
Workaround
Apache allocates 90 ports
===================
Also, you are particularly network and intranet. Then there must be a router. Specify the IP port directly on the router, without proxy
1. If IIS and Apzche are two different servers, and one of them is exposed to the outside network, it can be another matter. 、
2. If IIS and Apche in the same intranet, the same server, just the server has more than one network card, this can be the way I said above to solve
So. You must describe the environment first.
=========================
1. If IIS and Apzche are two different servers, and one of them is exposed to the outside network, it can be another matter. 、
2. If IIS and Apche in the same intranet, the same server, just the server has more than one network card, this can be the way I said above to solve
So. You must describe the environment first.
=========================
This is the case, a static NAT has been set up, and the other is on this machine with Apache-built virtual host, has been assigned to the IP, the same is the use of 80 port, in the intranet has been able to access. Environment is iis5.0 and Windows Server 2008
Please take a careful look at
Let Apache reverse proxy IIS and multi-domain settings
Apache Agent IIS 80-port implementation coexistence