Using the Apache proxy to implement NAT technology solutions

Source: Internet
Author: User
Using the Apache proxy to implement NAT technology
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/

------Solution--------------------
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.
=========================
------Solution--------------------
Please take a careful look at
Let Apache reverse proxy IIS and multi-domain settings
Apache Agent IIS 80-port implementation coexistence
  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.