How to run Apache and WingFTP simultaneously with port 80

The Knowledgebase provides a database of answers to many Technical questions.

How to run Apache and WingFTP simultaneously with port 80

Postby FTP » Fri Feb 18, 2011 6:40 am

If you want to run WingFTP and Apache on the same machine, there are lots of solutions available, using different ports, proxying method or same port with different IP address. If you want to run Apache and WingFTP on the same IP address and with the same HTTP port 80, OK, just take a few steps:

1. Let your Apache server run on port 80, and WingFTP's web client runs on port 8080.

2. Enable the Apache module "proxy_module".

3. Modify the Apache configuration
Code: Select all
<VirtualHost *:80>
    ServerName fileserver.YourDomain.com
    ProxyRequests Off
    <Proxy *>
        Order deny,allow
        Allow from all
    </Proxy>
    ProxyPass / http://localhost:8080/
    ProxyPassReverse / http://localhost:8080/
  </VirtualHost>



Done! When you visit the primary domain "www.YourDomain.com", then you will access the Apache's website. When you visit the second domain "fileserver.YourDomain.com", then you will access the web client of WingFTP.
FTP
Site Admin
 
posts 1202
 
joined Tue Sep 29, 2009 6:09 am

Return to Knowledgebase

Who is online

Users browsing this forum: No registered users and 0 guests

cron