IIS
  Home arrow IIS arrow Page 4 - Creating Test and Production Sites with On...
Iron Speed
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
ASP Web Hosting  
ASP.NET Web Hosting 
Dedicated Servers 
Download TestComplete 
Windows Web Hosting
 
IBM® developerWorks 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
IIS

Creating Test and Production Sites with Only One IIS Server
By: Justin Cook
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 49
    2004-04-28

    Table of Contents:
  • Creating Test and Production Sites with Only One IIS Server
  • Overview, Step 1
  • Step 2: It Looks Like the Database, and Smells Like the Database
  • Step 3: Configuring IIS
  • Step 4: Code Control

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    Iron Speed
     
    ADVERTISEMENT

    Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!

    Creating Test and Production Sites with Only One IIS Server - Step 3: Configuring IIS
    (Page 4 of 5 )

    Wow, I can hardly believe we're already on step 3. It just seems like minutes ago we were on step 2 [nostalgic sigh]. Alright then, let's move on!

    The first thing you're going to have to do is open the IIS console. I realize that you want to slap me for stating something so blatantly obvious, but I'm just trying to be thorough.

    Once loaded, you can right-click on Web Sites and click New > Web Site:

    IIS

    Now you can type in a description of the site. Again, this is not critical, this is simply what's you'll see when using IIS. I figure 'test site' will suffice.

    IIS

    Now this is the more important part. This is how we differentiate the sites. The default TCP port for a website to use is 80. We will set this one differently. What this will result in will be our ability to connect to the website with exactly the same URL, but with a different port number appended to it. We should try to pick a port that won't be used by other common applications (you can find a list to avoid here). I'm going to pick 8020. It's right up there, should be safe enough, and not too difficult to remember.

    IIS

    Now comes the time to remember exactly where we made the duplicate of our application by copying to directory. Just type it in here. I also generally disallow anonymous access, even if it is allowed on the production site. The reason for this is that I don't want just anybody stumbling upon the test site, previewing enhancements they're not yet meant to see.

    IIS

    And the final screen we can most likely leave as default. If you have different requirements for your application, just mimic those of the production website.

    IIS

    That's it! IIS is configured! If you've already changed the variables in the test application, you should be able to connect now with the new port number, and see an identical site. Have fun!

    More IIS Articles
    More By Justin Cook


     

    IIS ARTICLES

    - Retrieving IIS information using ASP.NET 2.0
    - IIS 6.0, Getting Information Using WMI
    - The Importance of a Domain
    - Implementing a PKI, Part II: Configuring IIS...
    - Creating Test and Production Sites with Only...
    - Authentication and Authorization
    - Beefing Up IIS: 10 Tips From A Former Solari...
    - An Introduction To ISAPI
    - Secure Your Web Server With SSL
    - Introduction to HTML and ASP
    - Instructions to help in Designing your own C...

     
    Accelerating Trading Partner Performance
     
    Competing on Analytics
     
    Cost Effective Scaling with Virtualization and Coyote Point Systems
     
    Five Checkpoints to Implementing IP Telephony
     
    Hosted Email Security: Staying Ahead of New Threats
     




    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway