One Domain with 2 websites and 2 SSL Certs

One Domain with 2 websites and 2 SSL Certs

am 22.05.2006 03:25:01 von Wordproblems

Greetings All,

I am running a Win2003 SBS Standard server. I have 2 websites running on the
server in the same domain. I have added a second IP to the server and
assigned each website an IP address. I have also created separate SSL certs
for each website and enabled port 443 for both. I have a Linksys router which
I enabled port forwarding for port 443.

The problem I am having is that when I go to https://website1.mydomain.com
I get the SSL cert for the 2nd website (and that website). If I go to
https://website2.mydomain.com I get SSL cert for the 2nd website and that
website.

How do I configure things so that when that when I go to site1 I get site1
with cert1 and when I go to site2 I cert 2.

Also how would I go about redirecting a url request for
http://website1.mydomain.com to https://website1.mydomain.com automatically?

Thanks in advance for your help.

Re: One Domain with 2 websites and 2 SSL Certs

am 22.05.2006 05:24:59 von Ken Schaefer

What IP address do website1.mydomain.com and website2.mydomain.com point to?
I suspect that they both point to the same address: the public IP address
assigned to your Linksys NAT device.

Then, how does your Linksys NAT device know that certain requests need to be
forwarded to internal IP address number 1, and other requests need to be
forwarded to internal IP address number 2? It doesn't, unless you have two
public IP addresses, and port forward each one to the requisite internal IP
address.


Cheers
Ken


"Word problems" wrote in message
news:C8E24BEB-B2C3-4847-B923-73F1B31A6C42@microsoft.com...
> Greetings All,
>
> I am running a Win2003 SBS Standard server. I have 2 websites running on
> the
> server in the same domain. I have added a second IP to the server and
> assigned each website an IP address. I have also created separate SSL
> certs
> for each website and enabled port 443 for both. I have a Linksys router
> which
> I enabled port forwarding for port 443.
>
> The problem I am having is that when I go to https://website1.mydomain.com
> I get the SSL cert for the 2nd website (and that website). If I go to
> https://website2.mydomain.com I get SSL cert for the 2nd website and that
> website.
>
> How do I configure things so that when that when I go to site1 I get site1
> with cert1 and when I go to site2 I cert 2.
>
> Also how would I go about redirecting a url request for
> http://website1.mydomain.com to https://website1.mydomain.com
> automatically?
>
> Thanks in advance for your help.
>

Re: One Domain with 2 websites and 2 SSL Certs

am 22.05.2006 14:17:02 von Wordproblems

Ken,
Thank you for your response. You are correct. I have 2 internal IP's and 1
Public IP. So If I undertand you correctly there's no way around it other
than getting a second public IP?

Thanks again.

"Ken Schaefer" wrote:

> What IP address do website1.mydomain.com and website2.mydomain.com point to?
> I suspect that they both point to the same address: the public IP address
> assigned to your Linksys NAT device.
>
> Then, how does your Linksys NAT device know that certain requests need to be
> forwarded to internal IP address number 1, and other requests need to be
> forwarded to internal IP address number 2? It doesn't, unless you have two
> public IP addresses, and port forward each one to the requisite internal IP
> address.
>
>
> Cheers
> Ken
>
>
> "Word problems" wrote in message
> news:C8E24BEB-B2C3-4847-B923-73F1B31A6C42@microsoft.com...
> > Greetings All,
> >
> > I am running a Win2003 SBS Standard server. I have 2 websites running on
> > the
> > server in the same domain. I have added a second IP to the server and
> > assigned each website an IP address. I have also created separate SSL
> > certs
> > for each website and enabled port 443 for both. I have a Linksys router
> > which
> > I enabled port forwarding for port 443.
> >
> > The problem I am having is that when I go to https://website1.mydomain.com
> > I get the SSL cert for the 2nd website (and that website). If I go to
> > https://website2.mydomain.com I get SSL cert for the 2nd website and that
> > website.
> >
> > How do I configure things so that when that when I go to site1 I get site1
> > with cert1 and when I go to site2 I cert 2.
> >
> > Also how would I go about redirecting a url request for
> > http://website1.mydomain.com to https://website1.mydomain.com
> > automatically?
> >
> > Thanks in advance for your help.
> >
>
>
>

Re: One Domain with 2 websites and 2 SSL Certs

am 22.05.2006 16:06:49 von Funkadyleik Spynwhanker

"Word problems" wrote in message
news:F1C5D9D7-E6DB-4B8F-BC10-205375187729@microsoft.com...
> Ken,
> Thank you for your response. You are correct. I have 2 internal IP's and 1
> Public IP. So If I undertand you correctly there's no way around it other
> than getting a second public IP?
>
> Thanks again.

Correct. None.

Re: One Domain with 2 websites and 2 SSL Certs

am 23.05.2006 07:54:32 von Ken Schaefer

You can get a wild card certificate that matches *.mydomain.com (these tend
to be quite expensive though).

Or you can get second public IP address

Or you have port forward different ports, eg https://publicIPaddress ->
internal IP 1, and https://publicIPaddress:444 -> internal IP 2

Cheers
Ken

"Word problems" wrote in message
news:F1C5D9D7-E6DB-4B8F-BC10-205375187729@microsoft.com...
> Ken,
> Thank you for your response. You are correct. I have 2 internal IP's and 1
> Public IP. So If I undertand you correctly there's no way around it other
> than getting a second public IP?
>
> Thanks again.
>
> "Ken Schaefer" wrote:
>
>> What IP address do website1.mydomain.com and website2.mydomain.com point
>> to?
>> I suspect that they both point to the same address: the public IP address
>> assigned to your Linksys NAT device.
>>
>> Then, how does your Linksys NAT device know that certain requests need to
>> be
>> forwarded to internal IP address number 1, and other requests need to be
>> forwarded to internal IP address number 2? It doesn't, unless you have
>> two
>> public IP addresses, and port forward each one to the requisite internal
>> IP
>> address.
>>
>>
>> Cheers
>> Ken
>>
>>
>> "Word problems" wrote in message
>> news:C8E24BEB-B2C3-4847-B923-73F1B31A6C42@microsoft.com...
>> > Greetings All,
>> >
>> > I am running a Win2003 SBS Standard server. I have 2 websites running
>> > on
>> > the
>> > server in the same domain. I have added a second IP to the server and
>> > assigned each website an IP address. I have also created separate SSL
>> > certs
>> > for each website and enabled port 443 for both. I have a Linksys router
>> > which
>> > I enabled port forwarding for port 443.
>> >
>> > The problem I am having is that when I go to
>> > https://website1.mydomain.com
>> > I get the SSL cert for the 2nd website (and that website). If I go to
>> > https://website2.mydomain.com I get SSL cert for the 2nd website and
>> > that
>> > website.
>> >
>> > How do I configure things so that when that when I go to site1 I get
>> > site1
>> > with cert1 and when I go to site2 I cert 2.
>> >
>> > Also how would I go about redirecting a url request for
>> > http://website1.mydomain.com to https://website1.mydomain.com
>> > automatically?
>> >
>> > Thanks in advance for your help.
>> >
>>
>>
>>

Re: One Domain with 2 websites and 2 SSL Certs

am 29.05.2006 15:19:32 von Rich Raffenetti

Your request for http://website1.mydomain.com will generate a 403.4 error.
Replace the default error htm file for your site with a custom error htm
file that redirects to https://website1.mydomain.com. The following should
work ok for you. The error files are in %windir%\help\iishelp\common








"Word problems" wrote in message
news:C8E24BEB-B2C3-4847-B923-73F1B31A6C42@microsoft.com...
> Greetings All,
>
> I am running a Win2003 SBS Standard server. I have 2 websites running on
> the
> server in the same domain. I have added a second IP to the server and
> assigned each website an IP address. I have also created separate SSL
> certs
> for each website and enabled port 443 for both. I have a Linksys router
> which
> I enabled port forwarding for port 443.
>
> The problem I am having is that when I go to https://website1.mydomain.com
> I get the SSL cert for the 2nd website (and that website). If I go to
> https://website2.mydomain.com I get SSL cert for the 2nd website and that
> website.
>
> How do I configure things so that when that when I go to site1 I get site1
> with cert1 and when I go to site2 I cert 2.
>
> Also how would I go about redirecting a url request for
> http://website1.mydomain.com to https://website1.mydomain.com
> automatically?
>
> Thanks in advance for your help.
>