Re: Virtual Hosts Possible for SSL ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> 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@xxxxxxxxxxxxxxxx> 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




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux