httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: [users@httpd] Virtual Hosts Possible for SSL ?
Date Tue, 01 Oct 2013 21:25:16 GMT
Don't use domains or IP addresses inside <virtualhost> or
NameVirtualHost.   It's causing two sets of name-based vhosts.  Use
*:80.

On Tue, Oct 1, 2013 at 4:06 PM, John McIntyre <joh98.mac@gmail.com> wrote:
> So I'm still unable to serve that domain2.com  :(
>
>
>
>
> Le 1 octobre 2013 à 18:04, Nick Tkach a écrit :
>
> Okay, if you're not doing ssl on domain2 then, no, that's not related.  I
> thought maybe from the post title that you were asking about virtual hosts
> for ssl and that gets complicated depending on exactly what you're trying to
> do.
>
>
> On Tue, Oct 1, 2013 at 11:57 AM, John McIntyre <joh98.mac@gmail.com> wrote:
>>
>> Hi,
>> Thanks for that.  Unfortunately, even after the changes, entering
>> domain2.com on a browser still goes directly to domain1.com.
>>
>> No, I don't have any intention to do SSL on domain2.com.  Is this causing
>> a problem?
>>
>> D.
>>
>>
>> Le 1 octobre 2013 à 17:29, Nick Tkach a écrit :
>>
>> Well, question is, are you trying to have domain2.com *also* do that same
>> http->https ( http://domain2.com to https://domain2.com )?  If so, do you
>> have separate certificates for each (domain1 and domain2)?
>>
>>
>> On Tue, Oct 1, 2013 at 10:36 AM, Pete Houston <ph1@openstrike.co.uk>
>> wrote:
>>>
>>> On Tue, Oct 01, 2013 at 04:25:05PM +0100, John McIntyre wrote:
>>> > Am I doomed to failiure, or is what I'm trying to do, actually
>>> > possible?
>>>
>>> No, you are almost there. The problem is that for some reason you have
>>> an asterisk in your VirtualHost declaration for domain2. Change that the
>>> the actual IP address (or hostname since you're using that for the
>>> others) and you should be fine.
>>>
>>> I'd also swap out the asterisk the NameVirtualHost directive too.
>>>
>>> HTH,
>>>
>>> Pete
>>> --
>>> Openstrike - improving business through open source
>>> http://www.openstrike.co.uk/ or call 01722 770036 / 07092 020107
>>
>>
>>
>
>



-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message