HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   from http to https after installation? (http://www.howtoforge.com/forums/showthread.php?t=1135)

Mahir 5th November 2005 13:25

from http to https after installation?
 
Hello,

I have a ispconfig server running atm it is running on http but now we wanne run it on https how must we do this? because we already have domain names running on this server? is there anyway to change to to https://name:81 ?

Yours,

domino 5th November 2005 14:49

Off hand I don't remember where the link is. But there is a post here where you can change https to http. Maybe you'll find it and perform the instructions backwards.

falko 5th November 2005 15:42

You can do it like this: in the ISPConfig tarball, after you've unpacked it, there's a file httpd.conf_https. Copy it to /root/ispconfig/httpd/conf and rename it to httpd.conf (make a backup of the current httpd.conf before!). Then 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).
Then open /home/admispconfig/ispconfig/lib/config.inc.php and change the ISPConfig URL from http to https.
Finally restart ISPConfig:
Code:

/etc/init.d/ispconfig_server restart

Mahir 5th November 2005 18:08

Ok thank u will try this out in the morning :)

drbista 6th December 2005 10:58

Some http and some https, how?
 
Quote:

Originally Posted by falko
You can do it like this: in the ISPConfig tarball, after you've unpacked it, there's a file httpd.conf_https. Copy it to /root/ispconfig/httpd/conf and rename it to httpd.conf (make a backup of the current httpd.conf before!). Then 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).
Then open /home/admispconfig/ispconfig/lib/config.inc.php and change the ISPConfig URL from http to https.
Finally restart ISPConfig:
Code:

/etc/init.d/ispconfig_server restart

Dear Falko:

This instruction seems to make the entire site in SSL, yes? Let me say if I want to make some component of the site http and some https (like webmail, ispconfig, phpmyadmin etc.). Does the same instruction apply for that, please elaborate. Thanks!

till 6th December 2005 11:04

What do you mean with "entire site in SSL". On the ISPConfig apache are only the ispconfig webinterface, phpmyadmin and webmail hosted.

falko 6th December 2005 11:46

Quote:

Originally Posted by drbista
Dear Falko:

This instruction seems to make the entire site in SSL, yes? Let me say if I want to make some component of the site http and some https (like webmail, ispconfig, phpmyadmin etc.). Does the same instruction apply for that, please elaborate. Thanks!

You seem to mix up the ISPConfig Apache and the main Apache! These are two completely independent servers! You can run ISPConfig, phpMyAdmin and webmail on https with the instructions from above, and will have no effect on your regular web sites.

Rocky 6th December 2005 15:40

I have untar the ISPConfig-2.1.0.tar.gz file and cd into the install_ispconfig but cannot find the https.conf_https file. Is this the right path to look for the file?

till 6th December 2005 15:52

The file is in the directory:

install_ispconfig/compile_aps/

Rocky 6th December 2005 17:38

I've done the above to get my server config to work using ssl but had no luck. I'm running the perfect debian and couldn't get this to work from the beginning. All it says is the page cannot be displayed. But when I go to http://www.domain.org:81, it says this server is running ssl and i need to use https. Any reason why this is not working?
I've compared the 2 httpd.conf files and both have the same server name. I made sure that the server url is set to use https.


All times are GMT +2. The time now is 02:25.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.