View Single Post
  #1  
Old 5th August 2006, 01: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