Changing ISPConfig from https to http

Discussion in 'Installation/Configuration' started by wr19026, Jun 16, 2006.

  1. wr19026

    wr19026 New Member

    I successfully installed ISPConfig and have set up a reseller, a few customers, websites and some (already active) e-mail users.

    During the ISPConfig install I selected https (SSL) as the connection method to my server.

    Now I find out that when I'm not on my LAN (in the office) I cannot access my server at port 81 and suspect that the firewall settings have something to do with it. So I want to change the server to non-SSL in order to test this (and to access my webmail ;)).

    Question: can I do this or do I need to reinstall ISPConfig (using partial deinstallation). Which leads to the question around mail users; will their mailboxes be preserved as well with partial deinstallation. The reason why I'm ask is that my current users have IMAP access and I don't want to lose those emails :)
     
  2. erk

    erk New Member HowtoForge Supporter

    Edit /root/ispconfig/httpd/conf/httpd.conf.

    To turn on/off SSL

    Change the line:
    Code:
    SSLEngine on  
    
    to
    Code:
    SSLEngine off
    
    To change port from default 81 to XX

    Edit the lines
    Code:
    Port 81
    
    and
    Code:
    <IfDefine SSL>
    Listen 81
    </IfDefine>
      
    
    to
    Code:
    Port XX
    
    <IfDefine SSL>
    Listen 81
    </IfDefine>
    
    Restart
    Don't forget to restart ISPC with
    Code:
    /etc/init.d/ispconfig_server restart
    after making the changes :).


    //Erk
     
    Last edited: Jun 16, 2006
  3. nsm

    nsm New Member

  4. wr19026

    wr19026 New Member

    Didn't find it when looking for it but thanks for the link.

    Also, Erk, thanks for the easy explanation!

    As it turns out, my employer's network setup doesn't like me connecting to port 81 in a secure manner. And since we have an unsecured WiFi network for customers and vendors I'll hop on that when I need to do something while I'm in the office ;)
     
  5. bswinnerton

    bswinnerton New Member

    I am also having a problem like this, in my office at work they block port 81 and i know that we do use https. I do not use any other https sites, so i don't mind using port 443. So correct me if i'm wrong or tell me that i am missing anything else:

    Change httpd.conf from

    Code:
    Port 81
    to
    Code:
    Port 443
    and then change

    Code:
    <IfDefine SSL>
    Listen 81
    </IfDefine>
    
    to
    Code:
    <IfDefine SSL>
    Listen 443
    </IfDefine>
    
    Will that work, or does the listen have to stay at port 81?

    Thanks!
     
    Last edited: Jul 30, 2007
  6. 3cwired_com

    3cwired_com New Member


    If you use that port for ispconfig, then you will not be able to run an ssl server from your regular webserver, if im not mistaken.
     
    Last edited: Jul 31, 2007
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    If you use port 443 on the ISPConfig webserver, you will not be able to have SSL enabled sites on your main webserver as 3cwired posted.

    There are 2 solutions:

    1) If you have more then one (external) IP address, you can configure the ispconfig webserver to listen on one IP and your main webserver to listen on the other IP address.

    2) Use mod_proxy: http://www.howtoforge.com/apache_reverse_proxy_ispconfig

    This will work for port 443 too.
     
  8. bswinnerton

    bswinnerton New Member

    Actually what i ended up doing (i do not use https on any other sites) was i forwarded the port from my router so that all incoming port 443 requests go to the internal port 81.

    Thanks for the help!
     
  9. 3cwired_com

    3cwired_com New Member

    great glad it worked for you!
     

Share This Page