Solved

https connects to wrong web site

Posted on 2014-11-13
5
44 Views
Last Modified: 2015-02-21
I am using IIS6. I am hosting 2 web sites that both use ssl. I call them  a.com and b.com.

a.com works fine. If I enter www.b.com in my browser I am redirected to https://www.b.com. Which is what I want. However if I enter https://www.b.com I get redirect to https://www.a.com. This is not good. Does anyone know why this is.

Thanks
0
Comment
Question by:whiwex
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 12

Expert Comment

by:ktaczala
ID: 40440256
What are your settings like in IIS >> advanced web site Identification ?
for each web site?
IP Address?  TCP port?  Host Header Value?
0
 

Author Comment

by:whiwex
ID: 40440537
For a.com
IP Address 192.168.2.60
TCP Port 80
SSL Port 443
Headers 192.168.2.60 www.a.com and 192.168.2.60 a.com
Multiple SSL identies for this site
192.168.2.60 port 443

For b.com
IP Address 192.168.2.60
TCP Port 80
SSL Port 443
Headers 192.168.2.60 www.b.com and 192.168.2.60 b.com
Multiple SSL identies for this site
192.168.2.60 port 443
0
 
LVL 12

Expert Comment

by:ktaczala
ID: 40440701
I assume you've googled look for an answer but here are a couple in case you haven't seen them.

are you doing any thing like this to redirect?
http://www.jppinto.com/2009/01/automatically-redirect-http-requests-to-https-on-iis-6/

Or are you trying to let IIS handle it?

Here's a link to do it with no coding. This might work for you.
http://omaralzabir.com/redirecting-traffic-from-http-to-https-with-zero-coding-in-iis/
never tried it though.
0
 

Accepted Solution

by:
whiwex earned 0 total points
ID: 40612945
I had to manually assign the ssl
0
 

Author Closing Comment

by:whiwex
ID: 40622828
Fixed it myself
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
HTTPSendRequest with WinINet delays on first call 11 119
Alert on Server memory 2 51
IIS Windows Server FTP 5 50
IIS URL Rewrite syntax 5 38
What is an ISAPI filter?   •      It's an assembly (.dll file) that can add or change the way IIS works.   •      They can be enabled globally for your web server or on a site-by-site basis.   When the IIS server receives a request, enabling the ISAPI fi…
I've always wanted to allow a user to have a printer no matter where they login. The steps below will show you how to achieve just that. In this Article I'll show how to deploy printers automatically with group policy and then using security fil…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question