#1  
Old 5th August 2006, 02:17
asyadiqin asyadiqin is offline
Senior Member
 
Join Date: Jul 2006
Posts: 120
Thanks: 0
Thanked 1 Time in 1 Post
Default SSL Setup In ISPConfig

Hi,

First of all, I would like to say that this is the best Open Source Control Panel that I have ever tried. There are others but the ISPConfig is the most easiest to install with the documentations provided, for basically all the major distro.


OK, back to the issue in hand. I have added a site in ISPConfig, ie. hostname = www and domain = mydomain.com. I've checked all the appropriate checkboxes, eg. CGI Scripts, PHP Scripts, MySQL, SSL, etc.. Next, I created the SSL for the site, using the SSL tab.

Now, in apache conf file for virtualhost, ie. Vhost_ispconfig.conf, ISPConfig created the appropriate directives. My problem is that I only need secure.mydomain.com to be secure, eg. https://secure.mydomain.com.

How do I go about doing it? Do I need to create a separate site in ISPConfig, eg. hostname = secure and domain = mydomain.com?

To summarise what I needed done,

1) secure.mydomain.com accessible by https ONLY, not both https and http

2) www.mydomain.com accessible by http ONLY, not both https and http

Is there a way to do this without creating 2 site or editing the Vhost_ispconfig.conf (though this is pointless as it gets overwritten whenever I modify or add any site)?

If there is a way, a detailed instructions on doing this in the control panel is greatly appreciated.

Otherwise, can I suggest that this option be implemented in future versions? Maybe adding the hostname in the SSL tab itself.

Thanks in advance.
Reply With Quote
Sponsored Links
  #2  
Old 6th August 2006, 14:18
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
 
Default

Quote:
Originally Posted by asyadiqin
How do I go about doing it? Do I need to create a separate site in ISPConfig, eg. hostname = secure and domain = mydomain.com?
Yes.

Quote:
Originally Posted by asyadiqin
1) secure.mydomain.com accessible by https ONLY, not both https and http
This site will still have http and https, but you can use a rewrite rule to direct http traffic to https: http://www.howtoforge.com/forums/showthread.php?t=5117
__________________
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
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
Setup DNS on ISPConfig QuikeMore Installation/Configuration 1 27th July 2006 10:08
godaddy and centos 4.3 setup with single ip on dsl using ispconfig sethtat HOWTO-Related Questions 3 21st June 2006 02:34
FC4 Setup DNS and ISPCONFIG issues The General Installation/Configuration 7 15th May 2006 10:45
SP-Server Setup - Ubuntu 5.10 "Breezy Badger" - Page 6 (changes) LuisC-SM HOWTO-Related Questions 0 21st April 2006 16:16
ISPConfig - Setup Felipe Installation/Configuration 3 10th December 2005 07:44


All times are GMT +2. The time now is 03:43.


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