473,387 Members | 1,388 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

IIS URGENT PROBLEM

Hello everyone:

Ok here is a very weird problem I am having and I hope that some of you can share some thoughts with me on this.

First of all, let me start by listing what I have:

1.- Windows Server 2003 - Standard Edition
2.- IIS 6.0

I have 2 different web sites running on this box,

a) sitenumberone.com

and

b) test.sitenumberone.com

Both sites are running independently, different sites, different data for each one. If it counts, both sites are running under .NET and C#.

I have installed a secure certificate in both of them, for site a) the certificate is issued to the same domain, i.e sitenumberone.com

For site b) also the certificate has been issue to the same domain for site b), in this case, test.sitenumberone.com

Both certificates were loaded properly and are valid.

Now, here is the strange thing:

1.- When I try to connect to site a) https://sitenumberone.com it works just fine.

2.- When I try to connect to site b) https://test.sitenumberone.com I get redirected RIGHT away to site a) and obviously I get a pop-up message saying that the certifcate doesn't match the domain I am trying to access.
But hey, I requested site b), and why I am getting redirected right away to site a), why is that?
I don't have any redirections at the script level. Besides, I even try to do this:

https://test.sitenumberone.com/testestsets.htm

I will expect from the above URL to go to a 404 error page saying that this page doesn't exist BUT I would expect to be in a secure page for site b) test.sitenumberone.com and not site a)
Instead I go to a 404 error page BUT on site a)

So conclusion: So far, I see that there is a redirection problem somewhere, I know that is has nothing to do with the DNS because if the site is not secure, HTTPS, and I try to access it via HTTP it works FINE each one.

The problem appears when I use HTTPS. And accessing site a) works but accessing site b) redirects to site a).

To make it more bizarre, here is what I did, I stopped site a) and tried to access site a). I was expecting to get nothing because I stopped the webserver for site a). Instead, I got redirected to site b) and I got the error popup message saying that I was trying to access a certificate that doesn't match etc....
Hope you get the picture, any ideas what is wrong? Is IIS really screw up? Is this a huge bug? any ideas will be greatly appreciated.
Thanks

---
Posted using Wimdows.net NntpNews Component -

Post Made from http://www.DotNetJunkies.com/newsgroups Our newsgroup engine supports Post Alerts, Ratings, and Searching.
Nov 18 '05 #1
1 1340
The message popping up is probably from the Common Name, if the URL in the
certificate doesn't match the URL then that error will come up

--
Abdellah Elamiri
..net Developer
Efficacy through simplicity
"DotNetJunkies User" <User@-NOSPAM-DotNetJunkies.com> wrote in message
news:%2***************@TK2MSFTNGP12.phx.gbl...
Hello everyone:

Ok here is a very weird problem I am having and I hope that some of you can share some thoughts with me on this.
First of all, let me start by listing what I have:

1.- Windows Server 2003 - Standard Edition
2.- IIS 6.0

I have 2 different web sites running on this box,

a) sitenumberone.com

and

b) test.sitenumberone.com

Both sites are running independently, different sites, different data for each one. If it counts, both sites are running under .NET and C#.
I have installed a secure certificate in both of them, for site a) the certificate is issued to the same domain, i.e sitenumberone.com
For site b) also the certificate has been issue to the same domain for site b), in this case, test.sitenumberone.com
Both certificates were loaded properly and are valid.

Now, here is the strange thing:

1.- When I try to connect to site a) https://sitenumberone.com it works just fine.
2.- When I try to connect to site b) https://test.sitenumberone.com I get redirected RIGHT away to site a) and obviously I get a pop-up message saying
that the certifcate doesn't match the domain I am trying to access. But hey, I requested site b), and why I am getting redirected right away to site a), why is that?

I don't have any redirections at the script level. Besides, I even try to do this:
https://test.sitenumberone.com/testestsets.htm

I will expect from the above URL to go to a 404 error page saying that this page doesn't exist BUT I would expect to be in a secure page for site
b) test.sitenumberone.com and not site a) Instead I go to a 404 error page BUT on site a)

So conclusion: So far, I see that there is a redirection problem somewhere, I know that is has nothing to do with the DNS because if the site
is not secure, HTTPS, and I try to access it via HTTP it works FINE each
one.
The problem appears when I use HTTPS. And accessing site a) works but accessing site b) redirects to site a).
To make it more bizarre, here is what I did, I stopped site a) and tried to access site a). I was expecting to get nothing because I stopped the
webserver for site a). Instead, I got redirected to site b) and I got the
error popup message saying that I was trying to access a certificate that
doesn't match etc....

Hope you get the picture, any ideas what is wrong? Is IIS really screw up? Is this a huge bug? any ideas will be greatly appreciated.

Thanks

---
Posted using Wimdows.net NntpNews Component -

Post Made from http://www.DotNetJunkies.com/newsgroups Our newsgroup

engine supports Post Alerts, Ratings, and Searching.
Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Rob | last post by:
I have a form - when you click the submit button, it appends a variable to the URL (e.g. xyz.cgi?inputID=some_dynamic_variable) It also opens a new page. Now, that some_dynamic_variable is...
9
by: Stefan Bauer | last post by:
Hi NG, we've got a very urgent problem... :( We are importing data with the LOAD utility. The input DATE field data is in the format DDMMYYYY (for days) and MMYYYY (for months). The target...
28
by: Tamir Khason | last post by:
Follwing the struct: public struct TpSomeMsgRep { public uint SomeId;
16
by: | last post by:
Hi all, I have a website running on beta 2.0 on server 2003 web sp1 and I keep getting the following error:- Error In:...
3
by: N. Spiker | last post by:
I am attempting to receive a single TCP packet with some text ending with carriage return and line feed characters. When the text is send and the packet has the urgent flag set, the text read from...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.