I am having trouble getting my ASP.NET application to start an application. For example when I type: http://my.domain.com/virtualdir or
http://my.domain.com/virtualdir/default.aspx
My application will start but I cannot get ASP.NET to start when I type http://my.domain.com.
I have tried to set the default document to default.aspx with no luck. I am sure there is something obvious I a missing here.
If you have a an application in a directory (application) called
virtualdirectory, then the URL of your application ishttp://my.domain.com/virtualdirectory/.However, if you want to use
http://my.domain.com/as your start URL you need toMethod 1
Move everything from
C:\Inetpub\wwwroot\virtualdirectorytoC:\Inetpub\wwwroot\I’ld only recommend this course of action if this is the only application you have, or if this is the core application.
Method 2
OR you could try changing the home / root direcory
Method 3
OR you could create a file called
c:\inetpub\wwwroot\default.aspxand stick this in