Default Directory needs to be Virtual Directory

ImDaFrEaK

Well-known member
Joined
Jan 7, 2006
Messages
416
Location
California
Programming Experience
5-10
If I set my default directory in IIS to my ASP.NET Website directory it doesn't deploy. I only get it to work whenever I build a Virtual Directory that points to the ASP.NET website I built. That's cool but how do I set my default directory to become my ASP.NET home page? I don't want to add the extension to my site. For example.... Right now i have to make it http://www.tripleg-3.com/music/default.aspx I want that site to be just http://www.tripleg-3.com

Thanks :)
 
I answered this problem myself within 15 minutes after posting but I honestly was trying to figure this out much longer than that. Anyways, incase anyone else has this problem just do this.

Open IIS
Right Click your Default Directory and Click Properties
Click the Home Directory Tab
Set the Local Path to the path of your ASP.NET website
Now to get it to work where Application Name and the textbox are both dis-abled just click the button to the right to create. Then it's fine with default. It will work.

I'm probably just a dumb fart and the only one not to know that but maybe it helps someone.


EDIT: This is in IIS 5.1. I have found that in IIS 7.0 things are simpler but have different procedures.
 
Last edited:
Back
Top