IIS coexistence with Apache under Windows

Source: Internet
Author: User

Under Windows Server, IIS and Apache servers are installed, and how to make them work together.

The problem I am facing now is that there is only one IP address to access different programs through different ports.

The solution is as follows:

1, find Apache under Httpd.conf file. Take a few items to remove the comment

LoadModule Proxy_module modules/mod_proxy.so
LoadModule Proxy_connect_module modules/mod_proxy_connect.so
LoadModule Proxy_ftp_module modules/mod_proxy_ftp.so
LoadModule Proxy_http_module modules/mod_proxy_http.so

# Virtual Hosts
Include conf/extra/httpd-vhosts.conf

2. Locate the httpd-vhosts.conf file and add the following content

<virtualhost *:80>

ServerName "Domain Name"
PROXYPASS/HTTP://IP Address: 801/
PROXYPASSREVERSE/HTTP://IP Address: 801/
ServerAdmin [email protected]
</VirtualHost>

The above sentence means: When the outside access to port 80, through the Apache agent, will be access to other servers.

3. Then restart the Apache server

IIS coexistence with Apache under Windows

Related Article

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.