Solved

How to create a duplicate website on IIS

Posted on 2009-07-10
4
1,388 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Enable TLS 1.2 on Windows Server 2012 3 95
SQL Server Web Traffic Limitations 4 53
SpiceWorks - help desk system 2 66
Error connecting to mysql on localhost 3 49
First of all, clustering IIS is something you should rarely consider doing. In almost all cases, Microsoft Network Load Balancing (NLB) (http://technet.microsoft.com/en-us/library/cc758834(WS.10).aspx) is a much better solution when you need to p…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

930 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now