https connects to wrong web site

Posted on 2014-11-13
Medium Priority
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.

Question by:whiwex
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
LVL 12

Expert Comment

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

Author Comment

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

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

Expert Comment

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?

Or are you trying to let IIS handle it?

Here's a link to do it with no coding. This might work for you.
never tried it though.

Accepted Solution

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

Author Closing Comment

ID: 40622828
Fixed it myself

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

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…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses

777 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