Hello,

I have a folder under the Default Web Site called BRNBackup (which I use as
a testing site locally). Anyway, on the folder properties, under Custom
Error Pages, I changed error 404 to URL and the URL to /404.asp. For some
reason, when I test the site in IE and enter an invalid address, it does not
go to the custom page I entered. What can possibly be wrong? Does it have to
be a Virtual Folder or a New Site? I am not sure what to do. Any help would
be appreciated. Thanks,

Chris

Re: Problem Configuring Custom Error Pages by Tom

Tom
Wed Jan 21 10:41:55 CST 2004

"Chris Guimbellot" <cguimbellot@FORGETSPAM.hifranchise.com> wrote in message
news:%23YclE0D4DHA.3752@TK2MSFTNGP11.phx.gbl...
> Hello,
>
> I have a folder under the Default Web Site called BRNBackup (which I use
as
> a testing site locally). Anyway, on the folder properties, under Custom
> Error Pages, I changed error 404 to URL and the URL to /404.asp. For some
> reason, when I test the site in IE and enter an invalid address, it does
not
> go to the custom page I entered. What can possibly be wrong? Does it have
to
> be a Virtual Folder or a New Site? I am not sure what to do. Any help
would
> be appreciated. Thanks,

Try a fully qualified URL.

--
Tom Kaminski IIS MVP
http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS
http://mvp.support.microsoft.com/
http://www.microsoft.com/windowsserver2003/community/centers/iis/




Re: Problem Configuring Custom Error Pages by Chris

Chris
Wed Jan 21 11:13:07 CST 2004

Tom,

Thanks for the response. I got it though. What I did was create a web site.
Then it worked. The problem was with the relative url to the 404.asp page.
This is the same problem I was having but with another issue. My images were
not loading. I do have another question for you. When creating the other
site, I specified a port of 9999 so that I can surf the site from in house
by going to http://SERVER:9999 and the site loads. That solved the 404 and
the site relative (as opposed to document relative) links and images. What I
would like to know is if there is any other way to create the site so as to
not have to use the port when surfing? I know that you can configure
headers, but then don't you need associated DNS records? This is only a
testing server and I am the only one who ever surfs the sites on it. What,
if anything, can I do to change this? Thanks for the help,

Chris

"Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote in message
news:bum9rf$bjq4@kcweb01.netnews.att.com...
> "Chris Guimbellot" <cguimbellot@FORGETSPAM.hifranchise.com> wrote in
message
> news:%23YclE0D4DHA.3752@TK2MSFTNGP11.phx.gbl...
> > Hello,
> >
> > I have a folder under the Default Web Site called BRNBackup (which I use
> as
> > a testing site locally). Anyway, on the folder properties, under Custom
> > Error Pages, I changed error 404 to URL and the URL to /404.asp. For
some
> > reason, when I test the site in IE and enter an invalid address, it does
> not
> > go to the custom page I entered. What can possibly be wrong? Does it
have
> to
> > be a Virtual Folder or a New Site? I am not sure what to do. Any help
> would
> > be appreciated. Thanks,
>
> Try a fully qualified URL.
>
> --
> Tom Kaminski IIS MVP
> http://www.iistoolshed.com/ - tools, scripts, and utilities for running
IIS
> http://mvp.support.microsoft.com/
> http://www.microsoft.com/windowsserver2003/community/centers/iis/
>
>
>



Re: Problem Configuring Custom Error Pages by Tom

Tom
Wed Jan 21 12:21:23 CST 2004

"Chris Guimbellot" <cguimbellot@FORGETSPAM.hifranchise.com> wrote in message
news:uHh$gGE4DHA.2528@tk2msftngp13.phx.gbl...
> not loading. I do have another question for you. When creating the other
> site, I specified a port of 9999 so that I can surf the site from in house
> by going to http://SERVER:9999 and the site loads. That solved the 404 and
> the site relative (as opposed to document relative) links and images. What
I
> would like to know is if there is any other way to create the site so as
to
> not have to use the port when surfing? I know that you can configure
> headers, but then don't you need associated DNS records? This is only a
> testing server and I am the only one who ever surfs the sites on it. What,
> if anything, can I do to change this? Thanks for the help,

Yes, you would need to change DNS (or use a different IP). Each site must
have at least the name, IP, or port different than all other sites on the
machine. An easy way to change DNS lookup for just your PC is to create a
HOST file on your local PC.
http://support.microsoft.com/default.aspx?scid=kb;en-us;228760

--
Tom Kaminski IIS MVP
http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS
http://mvp.support.microsoft.com/
http://www.microsoft.com/windowsserver2003/community/centers/iis/




Re: Problem Configuring Custom Error Pages by Chris

Chris
Wed Jan 21 13:34:17 CST 2004

Tom,

That worked like a champ. Thanks,

Chris

"Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote in message
news:bumflv$bl712@kcweb01.netnews.att.com...
> "Chris Guimbellot" <cguimbellot@FORGETSPAM.hifranchise.com> wrote in
message
> news:uHh$gGE4DHA.2528@tk2msftngp13.phx.gbl...
> > not loading. I do have another question for you. When creating the other
> > site, I specified a port of 9999 so that I can surf the site from in
house
> > by going to http://SERVER:9999 and the site loads. That solved the 404
and
> > the site relative (as opposed to document relative) links and images.
What
> I
> > would like to know is if there is any other way to create the site so as
> to
> > not have to use the port when surfing? I know that you can configure
> > headers, but then don't you need associated DNS records? This is only a
> > testing server and I am the only one who ever surfs the sites on it.
What,
> > if anything, can I do to change this? Thanks for the help,
>
> Yes, you would need to change DNS (or use a different IP). Each site must
> have at least the name, IP, or port different than all other sites on the
> machine. An easy way to change DNS lookup for just your PC is to create a
> HOST file on your local PC.
> http://support.microsoft.com/default.aspx?scid=kb;en-us;228760
>
> --
> Tom Kaminski IIS MVP
> http://www.iistoolshed.com/ - tools, scripts, and utilities for running
IIS
> http://mvp.support.microsoft.com/
> http://www.microsoft.com/windowsserver2003/community/centers/iis/
>
>
>