473,473 Members | 1,902 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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 1471
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: 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...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.