• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 153
  • Last Modified:

How do I change the default location for web site/project source?

I started my first .NET project (converting an existing static site to dynamic content) with Dreamweaver and then decided to tryout VS 2008. I already have a folder on another drive for web projects and would like to re-home my current VS project to that location. The existing web site was imported into DW at the other location.

Now that I have made sufficient progress I need to reference the static and image files. How can I change the default location from c:\inetpub\wwwroot\{web site} to {drive}:\{existing folder}\{web site}?

Thank you!
1 Solution
Sachintana DissanayakeSenior Web DeveloperCommented:
Go to IIS, right click and go to properties.
Select Home Directory tab and change the location path as your existing folder.
       {drive}:\{existing folder}\{web site}

Then go to Visual Studio and Open web site.
Select IIS virtual directory and select the virtual directory that you have created in IIS.
bigmoxyAuthor Commented:
Thank you very much!!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now