Solved

How to create a duplicate website on IIS

Posted on 2009-07-10
4
1,393 Views
Last Modified: 2012-05-07
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
DefaultWebSiteProperties.JPG
DevelWebSiteProperties.JPG
iismanager.JPG
0
Comment
Question by:OneDeveloper
4 Comments
 

Expert Comment

by:Scott Huffman
ID: 24826780
Are you wanting to create 2 sites that have independent domain names associated with them or sub web directories?
0
 

Author Comment

by:OneDeveloper
ID: 24826802
I think 2 sites that have independent domain names would give me the best situation for development testing.
0
 
LVL 2

Accepted Solution

by:
vulle earned 500 total points
ID: 24831765
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.
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
DLL in ASP.NET 20 75
Log on FTP From Local Machine 6 56
Initial get page response times and IIS8 15 55
Internal to DMZ IIS Authentication. 3 27
Today I came across an interesting issue that had me pulling my hair out.  I was troubleshooting a new internal web site which uses integrated security instead of anonymous.  When browsing the site from my laptop, I was able to access it with no iss…
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…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

821 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