two domain names - one IP - both SSL

Peter Risdon peter at circlesquared.com
Fri Apr 30 00:34:30 PDT 2004


Kiel Stirling wrote:

>On Fri, 2004-04-30 at 16:07, Andras Kende wrote:
>  
>
>>-----Original Message-----
>>From: owner-freebsd-questions at freebsd.org
>>[mailto:owner-freebsd-questions at freebsd.org] On Behalf Of David Banning
>>Sent: Friday, April 30, 2004 12:20 AM
>>To: questions at freebsd.org
>>Subject: two domain names - one IP - both SSL
>>
>>I am wondering how I could run SSL on two different domain names
>>using just one IP address.
>>
>>I am using virtual hosting with apache.
>>
>>Is that possible?
>>    
>>
>
>Yes.
>Follow this URL: http://httpd.apache.org/docs/vhosts/name-based.html may
>need to dig a bit to sort out the ssl stuff be this is the basic idea. 
>
>
>  
>

If you're not already running an ssl-enabled apache, I'd recommend the 
apache+mod-ssl port. Then just make sure the SSL virtual hosts listen on 
the right port:

<VirtualHost *:443>

There are good example configurations in the httpd.conf that ships with 
apache+mod-ssl.


PWR


More information about the freebsd-questions mailing list