Re: [LIH] multiple domains hosting on one IP with multiple SSLCertificates

Søren Atmakuri Davidsen <[email protected]>
Newsgroups gmane.user-groups.linux.india.help
Message-ID <[email protected]>
On Fri, May 1, 2009 at 12:48 PM, Alok G. Singh <[email protected]> wrote:
> Vivek Sharma wrote:
>
>> We have around 62 domains to be HTTPS(SSL) hosted on one domain. We got
>> issued server certificates for all the 62 domains. But the problem
>> arises in using only one IP for hosting all the domains.
>
> See http://httpd.apache.org/docs/2.0/ssl/ssl_faq.html#vhosts for the
> theory. It is painful to work around this. I did manage to get 2 ssl
> vhosts working but I would not advise going down that path if you have
> 62 domains. It's a maintenance issue.
>
> I used Rich Bowen's[1] recipe, just so you know.

Just to inform that recipe uses "non-standard" ports (443, 444, 445,
etc) for each SSL-vhost. That means;

1) the user has to enter https://domain:44x/  (easily done, but
annoying to the user);
2) or you have to create "landing redirect" on http://domain/asdf that
redirects the user to https://domain:44x/asdf (also easily done with
apache redirect module)

Cheers,
Soren

-- 
Soren Atmakuri Davidsen <[email protected]>, stud.it, Nellore, India

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.