when I'm running on my localhost and created the web site name to be /Store, it creates a virtual directory on my localhost. Now, on the URL, it sayshttp://localhost/Store/default.aspx. However, if I type inhttp://localhost/default.aspx, it doesn't work because it relies on the virtual directory /Store.
How do I make it so that it works both way?
Thanks!
If the web site is in the /Store subdirectory, that's where it is.
The IIS so called "default web site" is athttp://localhost/default.aspx , and it is a completely different site.
I don't know why you'd really need to do this, but you could just delete the default web site files inhttp://localhost and copy everything from /Store to the root site (one directory level up).
Keep in mind that these will still be two different sites, and that you will lose the files in your default web site.
0 comments:
Post a Comment