Thursday, March 29, 2012

newbie - stupid install question

Hi,
i FPTed my files to my host ISP. Now i can browse to
www.mysite.com/WebForm1.aspx. The problem is that my ISP runs index.html
at www.mysite.com. If i delete index.html i get "HTTP Error 403 -
Forbidden" at www.mysite.com. How do i get www.mysite.com to display
WebForm1.aspx?
Thanks,
MarkIn addition to index.html, your host will look for default.aspx (presuming i
t
supports asp.net, which is not the case with many hosters). The search order
depends on how IIS is configured (in IIS you can specify which pages to use
as the default, and in which order it looks for them, but your hoster likely
won't let you get at this).
So, get rid of index.html and rename your web form to default.aspx. Or, make
default.aspx or index.html a list of links to your real pages. Or, navigate
directly to mysite.com/webform1.aspx.
Bill
"Mark Oliver" wrote:

> Hi,
> i FPTed my files to my host ISP. Now i can browse to
> www.mysite.com/WebForm1.aspx. The problem is that my ISP runs index.html
> at www.mysite.com. If i delete index.html i get "HTTP Error 403 -
> Forbidden" at www.mysite.com. How do i get www.mysite.com to display
> WebForm1.aspx?
> Thanks,
> Mark
>
>
There is a setting in IIS for a defualt document. The file can by anything
including WebForm1.aspx. Your host should have a control panel where you ca
n
control this option. There is a default asp.net file with IIS, it is
default.aspx. I suggest you use this instead of WebForm1.aspx. It will mak
e
moving your project to different servers easier.
HTH MikeL
"Mark Oliver" wrote:

> Hi,
> i FPTed my files to my host ISP. Now i can browse to
> www.mysite.com/WebForm1.aspx. The problem is that my ISP runs index.html
> at www.mysite.com. If i delete index.html i get "HTTP Error 403 -
> Forbidden" at www.mysite.com. How do i get www.mysite.com to display
> WebForm1.aspx?
> Thanks,
> Mark
>
>
renaming to index.aspx works great!
Thanks Bill and MikeL
Mark
"Mark Oliver" <camarkco@.hotmail.com> wrote in message
news:8bCdnaLdHKKcAQLcRVn-gg@.adelphia.com...
> Hi,
> i FPTed my files to my host ISP. Now i can browse to
> www.mysite.com/WebForm1.aspx. The problem is that my ISP runs index.html
> at www.mysite.com. If i delete index.html i get "HTTP Error 403 -
> Forbidden" at www.mysite.com. How do i get www.mysite.com to display
> WebForm1.aspx?
> Thanks,
> Mark
>
>

0 comments:

Post a Comment