Waste of time?
- From: ryan adams
- Date: Tue, 29 Dec 2009 07:50:23 -0800
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
.
- Follow-Ups:
- Re: Waste of time?
- From: .._..
- Re: Waste of time?
- Prev by Date: .ZIP downloads work in Firefox but not IE?
- Next by Date: RE: .ZIP downloads work in Firefox but not IE?
- Previous by thread: .ZIP downloads work in Firefox but not IE?
- Next by thread: Re: Waste of time?
- Index(es):
Relevant Pages
|