View Single Post
  #1  
Old 15th April 2006, 16:16
Hans Hans is offline
Moderator
 
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,263
Thanks: 216
Thanked 649 Times in 295 Posts
Default ISPConfig: from http to https & from https to http

After installing ISPConfig, sometimes we want to change from http to https mode, or as you wish from https to http mode.

With this small instruction you can read how you can do this!
Realise that you have to be careful, do not screw your system!

Here we go:

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


Hans
Reply With Quote
Sponsored Links