Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 5th November 2005, 13:25
Mahir Mahir is offline
Member
 
Join Date: Oct 2005
Location: The Netherlands, Apeldoorn
Posts: 40
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to Mahir Send a message via Yahoo to Mahir
Default 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,
Reply With Quote
Sponsored Links
  #2  
Old 5th November 2005, 14:49
domino domino is offline
Senior Member
 
Join Date: Aug 2005
Posts: 364
Thanks: 0
Thanked 9 Times in 8 Posts
Default

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.
Reply With Quote
  #3  
Old 5th November 2005, 15:42
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

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
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #4  
Old 5th November 2005, 18:08
Mahir Mahir is offline
Member
 
Join Date: Oct 2005
Location: The Netherlands, Apeldoorn
Posts: 40
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to Mahir Send a message via Yahoo to Mahir
Default

Ok thank u will try this out in the morning
Reply With Quote
The Following User Says Thank You to Mahir For This Useful Post:
AbannyvabVask (23rd December 2013)
  #5  
Old 6th December 2005, 10:58
drbista drbista is offline
Junior Member
 
Join Date: Nov 2005
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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!
Reply With Quote
  #6  
Old 6th December 2005, 11:04
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,486
Thanks: 813
Thanked 5,256 Times in 4,121 Posts
Default

What do you mean with "entire site in SSL". On the ISPConfig apache are only the ispconfig webinterface, phpmyadmin and webmail hosted.
Reply With Quote
  #7  
Old 6th December 2005, 11:46
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

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.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #8  
Old 6th December 2005, 15:40
Rocky Rocky is offline
Senior Member
 
Join Date: Oct 2005
Posts: 553
Thanks: 14
Thanked 49 Times in 48 Posts
Default

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?
Reply With Quote
  #9  
Old 6th December 2005, 15:52
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,486
Thanks: 813
Thanked 5,256 Times in 4,121 Posts
Default

The file is in the directory:

install_ispconfig/compile_aps/
Reply With Quote
  #10  
Old 6th December 2005, 17:38
Rocky Rocky is offline
Senior Member
 
Join Date: Oct 2005
Posts: 553
Thanks: 14
Thanked 49 Times in 48 Posts
 
Default

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.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with https and IE on Mac os and safari DarkBen Installation/Configuration 11 29th September 2006 17:45
From HTTP to HTTPS fastcooler Installation/Configuration 4 15th April 2006 15:43
No login access by http or https onoxsis Installation/Configuration 9 24th October 2005 11:13
Diffenrent language in installation text! Pelle Installation/Configuration 4 2nd October 2005 12:46
Change from https to http after install hagel Installation/Configuration 4 22nd August 2005 17:14


All times are GMT +2. The time now is 19:00.


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