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 16th June 2006, 13:24
wr19026 wr19026 is offline
Senior Member
 
Join Date: Jan 2006
Posts: 172
Thanks: 7
Thanked 1 Time in 1 Post
Default Changing ISPConfig from https to http

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
Reply With Quote
Sponsored Links
  #2  
Old 16th June 2006, 14:17
erk erk is offline
Member
 
Join Date: Oct 2005
Location: Göteborg, Sweden
Posts: 41
Thanks: 0
Thanked 4 Times in 3 Posts
Default

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 by erk; 16th June 2006 at 14:25.
Reply With Quote
  #3  
Old 16th June 2006, 15:36
nsm nsm is offline
Junior Member
 
Join Date: Jun 2006
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

or take use the instuctions from the tips forum:
http://www.howtoforge.com/forums/showthread.php?t=3732
Reply With Quote
  #4  
Old 16th June 2006, 22:47
wr19026 wr19026 is offline
Senior Member
 
Join Date: Jan 2006
Posts: 172
Thanks: 7
Thanked 1 Time in 1 Post
Default

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
Reply With Quote
  #5  
Old 30th July 2007, 14:27
bswinnerton bswinnerton is offline
Senior Member
 
Join Date: Jul 2007
Location: Connecticut, US
Posts: 502
Thanks: 51
Thanked 17 Times in 14 Posts
Default

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 by bswinnerton; 30th July 2007 at 18:55.
Reply With Quote
  #6  
Old 31st July 2007, 04:55
3cwired_com 3cwired_com is offline
Senior Member
 
Join Date: Sep 2006
Posts: 100
Thanks: 3
Thanked 3 Times in 2 Posts
Default

Quote:
Originally Posted by bswinnerton
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!

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.
__________________
Behind every great fortune lies a crime.
www.3cwired.com - Web Design/SEO/Repair/Sales/Upgrades
www.galants.org - The Home for Galant Enthusiasts
www.locatemyip.com - More than just free IP displays

Last edited by 3cwired_com; 31st July 2007 at 13:23. Reason: typo i said ssh, meant ssl.
Reply With Quote
  #7  
Old 31st July 2007, 09:17
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,395
Thanks: 833
Thanked 5,492 Times in 4,323 Posts
Default

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_rev...roxy_ispconfig

This will work for port 443 too.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
bswinnerton (31st July 2007)
  #8  
Old 31st July 2007, 13:58
bswinnerton bswinnerton is offline
Senior Member
 
Join Date: Jul 2007
Location: Connecticut, US
Posts: 502
Thanks: 51
Thanked 17 Times in 14 Posts
Default

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!
Reply With Quote
  #9  
Old 31st July 2007, 14:03
3cwired_com 3cwired_com is offline
Senior Member
 
Join Date: Sep 2006
Posts: 100
Thanks: 3
Thanked 3 Times in 2 Posts
 
Default

great glad it worked for you!
__________________
Behind every great fortune lies a crime.
www.3cwired.com - Web Design/SEO/Repair/Sales/Upgrades
www.galants.org - The Home for Galant Enthusiasts
www.locatemyip.com - More than just free IP displays
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
ISPConfig: from http to https & from https to http Hans Tips/Tricks/Mods 13 12th March 2013 23:22
SP-Server Setup - Ubuntu 5.10 "Breezy Badger" - Page 6 (changes) LuisC-SM HOWTO-Related Questions 0 21st April 2006 15:16
redirect an application (egroupware) from http to https blackflag Installation/Configuration 13 21st February 2006 21:44
ISPConfig - From HTTPS to HTTP Hans Installation/Configuration 4 13th February 2006 19:27
Changing values on ISPConfig installation Luciano Installation/Configuration 4 16th August 2005 23:32


All times are GMT +2. The time now is 09:55.


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