From HTTP to HTTPS

Discussion in 'Installation/Configuration' started by fastcooler, Oct 21, 2005.

  1. fastcooler

    fastcooler New Member

    Dear Staff,

    I just installed ISPConfig and I'm very happy with it; only one question, please: during installation I selected to access panel via HTTP.

    Is there a way to change this setting and choose HTTPS, please ?

    Thanks,
    Best Regards
    Mark
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You can change this, but its a bit complicated as you have to install an other httpd.conf that is in the installer tar.gz package and change several config files. The easier way will be (if you have not setup some sites yet) to uninstall ISPConfig and reinstall it with https.
     
  3. Hans

    Hans Moderator Moderator

    From http to https:


    1) Copy file httpd.conf_https from the Tarball to filefolder /root/ispconfig/httpd/conf

    2) Make a copy of the existing httpd.conf file !

    3) Rename httpd.conf_https to httpd.conf

    4) Open the new httpd.conf and replace {SERVER_NAME} with the server name
    (have a look at the backed-up httpd.conf to find out the correct value)

    5) Open /home/admispconfig/ispconfig/lib/config.inc.php and change the ISPConfig URL from http to https.

    6) Finally restart ISPConfig: /etc/init.d/ispconfig_server restart


    From https to http:

    1) Copy file httpd.conf_http van de Tarball to filefolder /root/ispconfig/httpd/conf

    2) Make a copy of the existing httpd.conf file !

    3) Rename httpd.conf_http to httpd.conf

    4) Open the new and replace {SERVER_NAME} with the server name
    (have a look at the backed-up httpd.conf to find out the correct value)

    5) Open /home/admispconfig/ispconfig/lib/config.inc.php and change the ISPConfig URL from https to http.

    6) Finally restart ISPConfig: /etc/init.d/ispconfig_server restart

    But be careful !

    Hans
     
    Last edited: Apr 14, 2006
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Hans, thanks for the instructions :) If you like, post it to the tipps & tricks forum as new thread, i guess it will help many users.
     
  5. Hans

    Hans Moderator Moderator

    Till,

    I have posted the instruction in the Tips/Tricks/Mods section of this forum.
    I hope it is helpful to others indeed.

    Hans
     

Share This Page