473,788 Members | 2,856 Online
Bytes | Software Development & Data Engineering Community
+ 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.c om

and

b) test.sitenumber one.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.c om

For site b) also the certificate has been issue to the same domain for site b), in this case, test.sitenumber one.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.sitenumber one.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 1484
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.

"DotNetJunk ies User" <User@-NOSPAM-DotNetJunkies.c om> wrote in message
news:O0******** ******@tk2msftn gp13.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.c om

and

b) test.sitenumber one.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.c om
For site b) also the certificate has been issue to the same domain for site b), in this case, test.sitenumber one.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.sitenumber one.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 (testDOTnameDOT com), 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
2350
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 i m trying to run a programme in which i m setting line style to any color except "0" which is for BLACK
3
2443
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 actually the name of a form element on the parent window. On the new page, I have this javascript: ---- var var2 = location.search.substring(9); document.write(var2)
9
4317
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 data format is european DD.MM.YYYY (for days) and 01.MM.YYYY (for months). The input format is not recognizable as a DATE input to a DB2 LOAD for
28
3068
by: Tamir Khason | last post by:
Follwing the struct: public struct TpSomeMsgRep { public uint SomeId;
3
2164
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 "mysite" set up as a web application. Now when I test it going through "http://mysite/no-ip.org" then the toolbar doesn't work properly. It seems to merely render the images and any subsequent embedded Javascript but there are no events fired to the...
16
2968
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: http://www.mywebsite.org/WebResource.axd?d=5WvLfhnJp5Lc8WhQSD4gdA2&t=632614619884218750 -------------------------------------------------------------------------------- System.Security.Cryptography.CryptographicException: Padding is invalid and cannot be removed. at...
7
7259
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" id="d_links"> multiple <a href="hello.aspx?q=something">something</a><a href="hello.aspx?q=something1">something1</a><a
2
9097
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 names, from the local and remote machine..... Local is not a problem and works OK. but I am trying :: Form1.getFile.FileName = Inet1.Execute("ftp://ftp.server.net", "DIR") and I
1
1929
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 socket. some time error is---"An existing connection was forcibly closed by the remote host" and some time error is--- "A connection attempt failed because the connected party did not properly respond after a period of time, or established...
3
6476
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 the socket is missing the last character (line feed). When the same text is sent without the urgent flag set, all of the characters are read. I'm reading the data using the blocking read call of the network stream class. The .NET...
0
9656
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10373
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10177
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8995
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7519
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6750
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5538
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4074
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 we have to send another system
2
3677
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.