Moving away from port 81?

Discussion in 'Installation/Configuration' started by hairydog2, Mar 2, 2006.

  1. hairydog2

    hairydog2 New Member

    I want to stop using port 81 for ISPConfig admin, because it is blocked by so many firewalls.

    I have set up a second IP address with a separate domain name for the admin, but on the previous version of ISPConfig I never managed to get the two instances of apache to run on ports 80 and 443 on their own IP addresses only

    Whenever I tried, one or other versions of Apache complained that a port was already in use and would not start.

    Now with the new version of ISPConfig (I have not installed it yet) will it be easier (or even possible) to move the admin from port 81 to port 443? If so, how?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    There has nothing changed in the configuration of the httpd on port 81, we only updated it to the latest apache release.
     
  3. lerra

    lerra New Member

    Add reverse proxy support!
    Add this to your custoer when u add them in ispconfig
    ProxyRequests off
    ProxyPass /webmail/ https://xx:81/webmail/
    ProxyPass /webmail https://xx:81/webmail/

    etc! Now, my problem is that i whant a nother port for clear communication for apache because reverse proxy does not work against https, is there any help? Tryed to add port 79 etc to my isp apache config but it did not start listen on it. The thing i am looking for is still https and http access to ispconfig! http for reverse proxy support for the customer, get ther domain.com/webmail and https support for login to the system.
     
  4. hairydog2

    hairydog2 New Member

    Can you give some guidance about what to change and where to change it, so that I can use port 443 for admin, running on the different IP? I've tried a few times, but not managed to sort it out.

    I need to find the way to restrict the apache running on port 80 and 443 to only run on its own IP for 443 as well as moving the admin apache from 81 to 443 in its IP.

    This is running on a "perfect setup" Debian 3.1.

    I could upgrade to 2.2.0 first, if that makes it easier.
     
    Last edited: Mar 2, 2006
  5. falko

    falko Super Moderator ISPConfig Developer

    Let's say you have the IP addresses 1.2.3.4 (for ISPConfig) and 1.2.3.5 (for your main Apache).

    In /root/ispconfig/httpd/conf/httpd.conf you set Listen to
    Code:
    Listen 1.2.3.4:443
    Also change the port in /home/admispconfig/ispconfig/lib/config.inc.php.

    Then edit your main Apache's configuration and set Listen to
    Code:
    Listen 1.2.3.5:80
    Listen 1.2.3.5:443
    Then restart Apache, and afterwards restart ISPConfig.
     
  6. hairydog2

    hairydog2 New Member

Share This Page