Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

How to create a duplicate website on IIS

Posted on 2009-07-10
4
Medium Priority
?
1,402 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
3 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 2000 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

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

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

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
The Relationships Diagram is a good way to get an overall view of what a database is keeping track of. It is also where relationships are defined. A relationship specifies how two tables connect to each other. As you build tables in Microsoft Ac…
Suggested Courses
Course of the Month15 days, 7 hours left to enroll

575 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