httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matus UHLAR - fantomas <>
Subject Re: [users@httpd] Multiple SSL virtual servers on the same IP address and port number
Date Fri, 07 Jul 2006 07:48:58 GMT
On 06.07.06 21:38, James Jacob wrote:
> I'm using Apache HTTP Server (version 2.0.55) for my project. I'm having
> three SSL sites which I run on the same IPaddress, but with different port
> numbers.
> For example say for the ports 443, 444 & 445. 
> The sites I have can be for example, 
> 1) 
> 2)
> 3)
> I have also set re-direction such that if the user types a  http:// site
> it gets redirected to the corresponding https:// site with the required
> port number. However, the issue comes when the user types https:// without
> the required port number, since it goes to the default https:// site.

> Is there any way to add more SSL virtual server sites with the same IP
> address and Port ?  If the user types then it should
> get re-directed to . Rightnow it shows
> since that site is given with the default port. Any script or something
> which can do the trick could be useful.

I guess you are running different ssl virtual hosts on different ports
because of having different certificates for them.

If user types, (s)he will get message that the certificate
does not match the site (s)hes is trying to access.

This is message that people usually try to avoid, and you will get it even
if you set up another name-based virtual host(s) on the same host/port only
to redirect user to the correct port number.

If you want to avoid this message, I only see these solutions:

- run those hosts on different IP's

- run all those hosts on different port than 443
  (users will need to specify port)

- run 3 name-based virtual hosts on the same IP/port and use wildcard
certificate * there (some companies do not like to sign wildcard

Matus UHLAR - fantomas, ;
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
It's now safe to throw off your computer.

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message