Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / General / December 2005

Tip: Looking for answers? Try searching our database.

How to change home directory in VS 2005 web server?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Hongbo - 16 Dec 2005 22:34 GMT
Hi,

I tried to create a simple ASP.Net application with VS 2005 standard edition.
The project name is "WebSite1" and it is located at:
  D:\projects\WebSite1
The default.aspx is located right under D:\projects\WebSite1\default.aspx

When I clicked "View page from browser" to view the default.aspx, the URL
shows up in the address bar on IE6.0 is:
http://localhost:3457/WebSite1/default.aspx

Would you please tell me how I can change the Home Directory of the
built-in web server in VS 2005 so that I can load the default.aspx directly
like this:
 http://localhost:3457/default.aspx

Thank you

Hongbo
Cowboy (Gregory A. Beamer) - 17 Dec 2005 15:39 GMT
In order to set up a root in the way you desire, you have to create a new
website instead of a virtual directory. This means binding to another IP
address (at least in the normal implementation). You then move away from
directory based webs to an IIS implementation. You also have to run against
the norm to set this up.

Signature

Gregory A. Beamer

************************************************
Think outside the box!
************************************************

Hi,

I tried to create a simple ASP.Net application with VS 2005 standard
edition.
The project name is "WebSite1" and it is located at:
  D:\projects\WebSite1
The default.aspx is located right under D:\projects\WebSite1\default.aspx

When I clicked "View page from browser" to view the default.aspx, the URL
shows up in the address bar on IE6.0 is:
http://localhost:3457/WebSite1/default.aspx

Would you please tell me how I can change the Home Directory of the
built-in web server in VS 2005 so that I can load the default.aspx directly
like this:
 http://localhost:3457/default.aspx

Thank you

Hongbo

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.