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

How to create a duplicate website on IIS

I was given a fully functional website.  I want to create a duplicate version of the website for development purposes.  The original source code is located on the server at C:\Inetpub\vhosts\default\htdocs\SourceCode and a copy of the source code is located at C:\Inetpub\vhosts\default\htdocs\DevelSourceCode.  I created a new website in the IIS manager.  I also created a new application pool using the configuration from the Default Website's application pool's settings.  I set the development website port number to 88 so that it wasn't the same as the default website's port number (80).  I know there are a few more steps to this process.  Can any one point me in the right direction as to what I need to do next.

Thanks, in advance
1 Solution
Scott HuffmanCommented:
Are you wanting to create 2 sites that have independent domain names associated with them or sub web directories?
OneDeveloperAuthor Commented:
I think 2 sites that have independent domain names would give me the best situation for development testing.
If you want to have 2 sites with different names go to properties of each site and change host header value. Set different names for each of them (www.yoursite.com and dev.yoursite.com). Make sure you don't use the same phisycal folder for both of them or you will get all mixed up (I've noticed on your pictures that you have the same folder for both sites). You don't need to use different ports, you can use port 80 for both of them.
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

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

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