Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7433693
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T09:42:48+00:00 2026-05-29T09:42:48+00:00

My production environment have a root, and my virtual directory will be at /brazil

  • 0

My production environment have a root, and my virtual directory will be at /brazil folder inside the root.

When I convert my website project(not web application), that works correctly with Cassini at /brazil since my website folder is brazil, IIS Express put the site at root, how can I change this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T09:42:48+00:00Added an answer on May 29, 2026 at 9:42 am

    I’m seeing similar problems with IIS Express with web applications. From what I’m seeing, IIS Express actually allows you to define a folder in the ‘Project Url’ field, but then when launching it generates 2 websites, one with the folder and another for the root application. Problem with this is that it is using the same folder for both which brings web.config inheritance issues.

    My solution was to go edit the hosting file and change the physicalPath for the root virtual directory to an empty folder in my system

    For example:

    <site name="MySite1" id="1">
        <application path="/" applicationPool="Clr4IntegratedAppPool">
            <virtualDirectory path="/" physicalPath="C:\VisualStudioProjects\2010\MySite1\MySite1" />
        </application>
        <application path="/ssd">
            <virtualDirectory path="/" physicalPath="C:\VisualStudioProjects\2010\MySite1\MySite1" />
        </application>
        <bindings>
            <binding protocol="http" bindingInformation="*:59473:localhost" />
            <binding protocol="https" bindingInformation="*:44302:localhost" />
        </bindings>
    </site>
    

    To this:

    <site name="MySite1" id="1">
        <application path="/" applicationPool="Clr4IntegratedAppPool">
            <virtualDirectory path="/" physicalPath="C:\TEMP\New folder" />
        </application>
        <application path="/ssd">
            <virtualDirectory path="/" physicalPath="C:\VisualStudioProjects\2010\MySite1\MySite1" />
        </application>
        <bindings>
            <binding protocol="http" bindingInformation="*:59473:localhost" />
            <binding protocol="https" bindingInformation="*:44302:localhost" />
        </bindings>
    </site>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In my production environment I have several Web applications installed in the same machine.
At my company, we have tiered environment for our web applications (development, staging, production).
In our Production environment we have JBoss running in a clustered mode with 4+
I have a VB6's Application that is in production environment right now, this application
We have Windows Server 2008 as our Production server hosted in RackSpace environment. Following
I am working within an intranet environment. We have both a production and development
I have some problem while configuring symfony project on the production server. When I
I have installed the newrelic-deamon on our production environment but its won't start. I
I have a CF9 project set up with a multi-tiered directory structure. At the
As most production environments we have setup something to send us a notification if

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.