Loading a new site while keeping live site in place - same domain

Discussion in 'ASP.NET / ASP.NET Core' started by dennis, Apr 26, 2011.

  1. My situation is this. I have a web site with a wildcard SSL cert. It is a live production web site using web forms and a MS SQL backend. I need to upgrade it to a new MVC3 site one Sunday Morning (with the ability to regress quickly and easily if need be). The new site is being tested locally now and I plan to use the publish function to deploy it to the new live location.

    I have a couple of ideas but don’t know if there are limitations or restrictions in general or at discountasp in particular that will make any of them unusable (like multiple sub domains vs. multiple folders off the root).

    For instance, can the two sites coexist if the old is in a sub folder off the root and the new is in the root (or both are in different subfolders and the next time I have to do this it is easier) or can they each be separate sub domains (how is that set up)? - If so, I should be able to move the current live to the sub folder (or sub domain) weeks before installing the new MVC site. If so, can I have the current live site up in its new location and upload the new site and test it in the hosted location before flipping the login to go to the new version? Both sites use the same database.

    What is the best way for this kind of migration to be done, and what are the risks or any approach?

    Any suggestions on how to get it done will be appreciated?

    Thanks so much
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    Why don't you put your new site in a sub directory to test if it works properly?
     
  3. Testing in a sub folder

    Seems to me if I do that I have to alter all the MVC route registrations to test and the reset them to go live. I don't want to do anything to the site when the testing is done - that would introduce a 'post test' variable I would like to avoid.
     

Share This Page