I understand that ASP.NET automatically makes an aspx filename named
default.aspx or index.aspx the default web page. So, if I went to the
following URL for example: www.here.com, and I had default.aspx in
the root of that domain site, it would display default.aspx.
But why does this happen:
I create a folder inside the root called sub, so the structure is now
www.here.com/sub. And I place a default.aspx web page in that sub
folder too. But if I navigate to that URL, I don't see default.aspx
as the default page, I get a "virtual directory" warning page instead.
Is this how all web sites work, or is it ASP.NET specific? Is there a
way that I can make my default.aspx appear if someone navigates to a
sub folder in my root domain?
Thanks very much for any advice,
Best regards from Robert.
I have solved this problem: all I had to do was ask the hosting
company about this, and they did something on the server, and now I
can have my .NET web app inside a folder on my web space.
I'm guessing here, but I think they might have set the folder up to be
a virtual directory under IIS.
Sorry if this was a daft question.
- Robert.
pleaserep...@hotmail.com (.NET Developer) wrote in message news:<66900ea6.0209...@posting.google.com>...