Solved

asp.net mvc how do I change my root directory

Posted on 2010-09-23
3
586 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
  • 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

Suggested Solutions

In this article you'll learn how to use Ajax calls within your CodeIgniter application. To explain this, I'll illustrate how to implement a simple contact form to allow visitors to send you an email through your web site.
Recently I spent hours debugging an issue in a Rails project where ActiveRecord was causing MySQL errors trying to create a User object of a class at the top level of a Single Table Inheritance model structure.  It turns out `.create` behaves differ…
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…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.

786 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