Solved

asp.net mvc how do I change my root directory

Posted on 2010-09-23
3
601 Views
Last Modified: 2013-11-08
I have a site working in visual studio.  I want to test it on my webserver.  I can deploy to mydomain.com/test, but my application is set up to work with mydomain.com.  Is there an easy way to change the root in my mvc project to be down one level?
0
Comment
Question by:jackjohnson44
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 30

Accepted Solution

by:
Brad Howe earned 500 total points
ID: 33746524
Hi,
Could you not simply just change the WEB properties Virtual Path location from / to /test and then deploy?
I just removed VS2010 last month so I cannot confirm.
-Hades666
0
 

Author Comment

by:jackjohnson44
ID: 33746707
Thanks, how?
0
 
LVL 30

Expert Comment

by:Brad Howe
ID: 33746790
Should be something like right click on your Project, Click Properties and then the WEB tab. - Hades666
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question