Waste of time?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



What about the others who have searched this topic and are interested in your solution? I've just wasted 3 minutes reading your question and posting a reply because you have not shared your embarrassing answer.



Tom Baxter wrote:

This is too embarrassing to admit so I will only say that my problem was due
25-Feb-09

This is too embarrassing to admit so I will only say that my problem was due
to my own carelessness. I am sorry to those who wasted their time reading
and thinking about my original posting.

Previous Posts In This Thread:

On Tuesday, February 24, 2009 10:39 PM
Tom Baxter wrote:

??? IIS Subdomain Pain Continues ???
Hi all,

I posted a similar question to this a few days ago but I am still
struggling. The current posting has more information. Please help if you
can.

I am struggling with getting a subdomain to work.

I'm using IIS 7. I have a domain, "mydomain.com". What I want is to set up a
subdomain like, "fred.mydomain.com".

Here are my DNS entries (which seem to be correct):

Host: mydomain.com Record type: A Value: <Valid IP>
Host: www.mydomain.com Record type: CNAME Value: mydomain.com
Host: fred.mydomain.com Record type: CNAME Value: mydomain.com

I can point my browser to either "mydomain.com" or "www.mydomain.com" and it
works beautifully. "fred.mydomain.com", however, fails with a 404. I can,
however, ping "fred.mydomain.com" and get a valid response. So, I think the
DNS entries are fine.

On IIS, I have two web sites configured. (I was told I needed a second site
for the "fred" subdomain). The first site is for "mydomain.com" and it
points to "c:\...\Sites\MyDomain.com\" while the second is for
"fred.mydomain.com" and it points to "c:\...\Sites\MyDomain.com\fred\".
Incidentally, I *really* want to keep this directory structure. Since "fred"
is a subdomain I want its contents to be physically within that of
"mydomain.com".

When a user surfs to "fred.mydomain.com" I want him to land at
"c:\...\Sites\MyDomain.com\fred\".

In IIS, I set bindings for the first site to "mydomain.com" and
"www.mydomain.com" while the second site has a binding for
"fred.mydomain.com".

Here's where it gets weird. I mentioned earlier that when I browse to
"fred.mydomain.com" I get a 404. But the 404 error that appears in the
browser is different from the 404 error that appears if I surf to some
non-existent page on "mydomain.com". I used Fiddler to watch the HTTP
response headers and the "Server" headers are different. Here are the 404
headers I see when I browse to a non-existent page on "mydomain.com". Note
the "Server" header:

HTTP/1.1 404 Not Found
Proxy-Connection: Keep-Alive
Connection: Keep-Alive
Content-Type: text/html
Server: Microsoft-IIS/7.0
Date: Tue, 24 Feb 2009 03:11:08 GMT
Content-Length: 1245

and here are the headers returned when I browse "fred.mydomain.com" (again,
note the "Server" header):

HTTP/1.1 404 Not Found
Proxy-Connection: Keep-Alive
Connection: Keep-Alive
Content-Type: text/html; charset=us-ascii
Server: Microsoft-HTTPAPI/2.0
Date: Tue, 24 Feb 2009 03:10:22 GMT
Content-Length: 315

Additionally, I turned on "Failed Request Tracing" for both sites. When a
404 is generated for "mydomain.com" an FRT file is generated, as expected.
But for "fred.mydomain.com", no record is ever generated.

That's pretty much all the information I have. Does anyone know how I can
get my subdomain to work (and keep its contents within the directory
structure of "mydomain.com")?

Thanks very, very much.

On Wednesday, February 25, 2009 6:49 PM
Tom Baxter wrote:

This is too embarrassing to admit so I will only say that my problem was due
This is too embarrassing to admit so I will only say that my problem was due
to my own carelessness. I am sorry to those who wasted their time reading
and thinking about my original posting.


Submitted via EggHeadCafe - Software Developer Portal of Choice
CSS Stylesheet Sampler Script
http://www.eggheadcafe.com/tutorials/aspnet/6414b26b-a720-4174-8bd0-64466ee722bc/css-stylesheet-sampler-sc.aspx
.



Relevant Pages

  • Re: Waste of time?
    ... This is too embarrassing to admit so I will only say that my problem was ... I am struggling with getting a subdomain to work. ... response headers and the "Server" headers are different. ...
    (microsoft.public.inetserver.iis)
  • Re: Excels COMBIN and integers
    ... when an interesting thread showed up on a Google filter for key words that I ... consistent with his posting through the MS Discussion Groups server, ... is consistent with his latest posting. ... Headers from Jerry's Nov 2008 posting: ...
    (microsoft.public.excel.worksheet.functions)
  • Re: How to get a promotion in the Ukrainian Mafia
    ... Just check the NNTP posting host. ... Newsguy's server. ... MSOE doesn't show most headers unless you go looking. ... (The snips are mine) ...
    (talk.origins)
  • Re: How to get a promotion in the Ukrainian Mafia
    ... Just check the NNTP posting host. ... Newsguy's server. ... MSOE doesn't show most headers unless you go looking. ... As of the last time I looked, MSOE didn't show the X-Postfilter header. ...
    (talk.origins)
  • Re: newsreader client for VMS
    ... This was posted from Compaq Secure Web Browser with a user/pass authenticated NNTP server from my ISP. ... Not sure about posting anything with headers. ... Can anyone recommend a newsreader client for VMS which a) allows password-based authentication and b) will allow me to post an article "as is" including all headers? ...
    (comp.os.vms)