Reputation: 41
I have just taken over a new ASP VB website and I am having trouble finding whre the home page is set.
It has been a couple years since I worked with ASP.
I can find nothing in the following files:
web.config
global.asax
applicationHost.config
Nor do any of the following files exist:
Default.htm
Default.asp
index.htm
index.html
iisstart.htm
default.aspx
It is a web site project that I am dealing with.
I feel am missing something simple and stupid.
Thanks!
Upvotes: 0
Views: 54
Reputation: 3615
This may not necessarily be set anywhere in the app. You can check IIS (assuming you have access to it) but the easiest way may be to open up the application in your web browser (in this example, I'm using Internet Explorer) and right click on the page. Select "Properties" in the context menu. This will display the address (URL) of the current page. Note, though, that if your page consists of frames, you will see the address for the frame you targeted. If this does not work, let me know and I'll send details on how to check IIS.
Upvotes: 0
Reputation: 34844
In IIS 7:
Administrative Tools-> IIS Manager -> You Server Name -> Your site name -> Under HTTP features -> Default document -> Add YourPage.aspx
Note: Change YourPage.aspx
to whichever file you want to be the start/default page.
Upvotes: 2