title: asp.net mvc create development environment
body: <p>I have a production asp.net mvc website that I have been modifying and publishing through Visual Studio Express 2013. I wanted to create a development environment so that I'm not making changes to the production site/database. So, I did the following:</p>
  
  <ol>
  <li>cloned the database and called it db-proj-dev</li>
  <li>copied the source files for the project into a new folder called dbproj.dev</li>
  <li>added the dev proj (dbproj.dev) to the same solution as the production project (so that easier to copy code from dev to prod)</li>
  <li>modified web.config to point to the cloned database db-proj-dev</li>
  <li>created a new publish profile pointing to dbproj.dev under inetpub</li>
  <li>added a new website in IIS manager, pointing to the folder dbproj.dev under inetpub (port 10000 and same url as the default website)</li>
  </ol>
  
  <p>What is happening now is that, when I bring up the dev site, it comes up to the home screen of the dev site, but if I click any of the links, it redirects to the main prod site. If I complete a form, the data gets posted to the production database. Does anyone know what I am forgetting or missing?</p>