Re: Underscore in IIS 6 Host Header definition
From: srock (user_at_localhost)
Date: 11/18/04
- Next message: Yogita Manghnani [MSFT]: "Re: CDO.Message. ActiveX error"
- Previous message: TS: "Re: Network delay when requesting image through browser inconsistent"
- In reply to: Aaron: "Re: Underscore in IIS 6 Host Header definition"
- Next in thread: Aaron: "Re: Underscore in IIS 6 Host Header definition"
- Reply: Aaron: "Re: Underscore in IIS 6 Host Header definition"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 17 Nov 2004 19:13:49 -0500
An underscore is not valid in host names. Microsoft removed support in IIS 6
for the underscore in host headers because it's not valid. You can edit the
server binding manually to get it to 'work' if you really want to do
something non-standard. If I were you, I'd spend the time to rename the
site(s) in question.
just do a google search and you'll find 100's of posts saying that an
underscore n a host name is not valid.
Seth
"Aaron" <Aaron@discussions.microsoft.com> wrote in message
news:955DAF21-9210-4EA8-85A9-AC110FB4EDFE@microsoft.com...
> Thanks for checking that Seth. In RFC1033, the DNS Admin Guide it states
> otherwise...any 8 bit character but specifically mentions underscore.
Since
> the RFC's are guidlines, who is right? I'm of the thinking that since MS
DNS
> lets you use underscore in host name records, why wouldn't their own web
> server allow them?
>
> Excerpt from RFC1033:
>
> NAMES
>
> A domain name is a sequence of labels separated by dots.
>
> Domain names in the zone files can be one of two types, either
> absolute or relative. An absolute name is the fully qualified domain
> name and is terminated with a period. A relative name does not
> terminate with a period, and the current default domain is appended
> to it. The default domain is usually the name of the domain that was
> specified in the boot file that loads each zone.
>
> The domain system allows a label to contain any 8-bit character.
> Although the domain system has no restrictions, other protocols such
> as SMTP do have name restrictions. Because of other protocol
> restrictions, only the following characters are recommended for use
> in a host name (besides the dot separator):
>
> "A-Z", "a-z", "0-9", dash and underscore
>
> --------------------------------------------------------------------------
> "srock" wrote:
>
> > An underscore is not valid in host names. See section 2.3.1 of RFC 1035:
> > http://www.faqs.org/rfcs/rfc1035.html
> >
> > Seth
> >
> > "Aaron" <Aaron@discussions.microsoft.com> wrote in message
> > news:54FB41BF-65FE-4D5D-B553-5A232B669F79@microsoft.com...
> > > Underscore (_) is perfectly valid in DNS, so why is it disallowed in
the
> > IIS
> > > Host Header definition? It seems that the validation in IIS 6 only
allows
> > > A-Z, a-z, '.', and '-'. Why not '_'?
> > >
> > >
> >
> >
> >
- Next message: Yogita Manghnani [MSFT]: "Re: CDO.Message. ActiveX error"
- Previous message: TS: "Re: Network delay when requesting image through browser inconsistent"
- In reply to: Aaron: "Re: Underscore in IIS 6 Host Header definition"
- Next in thread: Aaron: "Re: Underscore in IIS 6 Host Header definition"
- Reply: Aaron: "Re: Underscore in IIS 6 Host Header definition"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|