473,320 Members | 2,000 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,320 software developers and data experts.

URGENT IIS 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
4 1465
I don't know the anwswer to your problem, but I do know that when you post
the same message multiple times, it is bad Netiquette, and that makes people
LESS likely to answer, rather than more. Believe me, a single posted message
to these MS newsgroups is going to be read by many people, including MVPs
and Microsoft employees.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"DotNetJunkies User" <User@-NOSPAM-DotNetJunkies.com> wrote in message
news:O0**************@tk2msftngp13.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
Check the IIS directory properties. One of the tabs has a provision for redirecting requests to the directory to another URL

Also, I have seen some situation where the 'two-dot' name was not processed properly (testDOTnameDOTcom), although this had nothing to do with II
Nov 18 '05 #3
Also, if you are inheriting code classes, you might have a url embedded in a base class.
Nov 18 '05 #4
Hi,
If the sites listens to the same ip (and use host header names to differentiate between the sites) you can not have them listening to the same SSL port, default 443.
Either
-Assign two ip addresses to the server and configure one of them for site a and the other for site b, then both sites can use the default SSL port of 443,
or,
-configure one of the sites to use some other port for SSL, (example: 8443), then the urls to the sites become
https://sitenumberone.com/ (which really is https://sitenumberone.com:443/ )
and https://test.sitenumberone.com:8443/

Nov 18 '05 #5

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

Similar topics

1
by: abhilash agarwal | last post by:
hi all!! pl help me i m getting a run time error "memory address .... refer to this location....... memory could not be written at this location....." ..... means some memory address when...
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;
3
by: Microsoft Newsgroups | last post by:
Hi all, I'm having an interesting problem with my IE Webcontrols. I'm using the toolbar and when I test it in my browser using "http://localhost/mysite", it works fine. Incidentally, I have...
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:...
7
by: zeyais | last post by:
Here is my HTML: <style> ..leftcolumn{float:left;width:300px;border: 1px solid #ccc} ..rtcolumn{float:left;width:600px;border: 1px solid #ccc} </style> <body> <div class="leftcolumn"...
2
by: Max Power | last post by:
Hi All I am coding a small app in that swaps specific files between a client and server. All files and locations are set at both sides. I want my app to show a file list, based on the file...
1
by: alok sengar | last post by:
hi, I have already tried this URL's code "http://www.java2s.com/Code/CSharp/Network/SimpleSNMP.htm" but I am getting error when i am creating a UDP type Socket and recieving packet from this...
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: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.