Sei sulla pagina 1di 25

Home  Blog  Blog  Web Hosting Support  Steps To Migrate The Websites From IIS 7.

5 To IIS 10

Steps to Migrate the Websites from IIS 7.5 to


IIS 10

 October 4, 2017 Posted by: Loges  No Comments


Category: Blog, Web Hosting Support

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Steps to Migrate the Websites from
IIS 7.5 to IIS 10
In this blog, We will show you the steps to migrate the websites from IIS 7.5 to IIS 10

REQUIREMENTS

Windows Server 2008 R2 VM


Windows Server 2016 VM


Web Deploy Tool


Note : In this demo, we are migrating the websites from windows server 2008 R2
to Windows 2016 server.

ENVIRONMENT OVERVIEW
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
We are using 2 VM’s as Windows server 2008 R2 and Windows server 2016 respectively. Also, we have installed IIS


on both the servers.

Apart from that, we have installed ASP .NET 4.5 in windows server 2008 R2 VM to run the ASP.NET 4.5 applications.

We enabled .NET 4.5 for DefaultAppPool in IIS.


Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
 

Also, we have created two web application under default website as Alfrawebsite & TestApp.

INSTALLING WEBDEPLOY

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Note : Follow the below steps to install WEBDEPLOY on both source (Windows
server 2008 R2) and destination (Windows Server 2016) servers.


Go to the below URL https://www.iis.net/downloads/microsoft/web-deploy to download the web deploy tool.

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
 

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Scroll down and select the corresponding language for your region. In this demo, we are using the 64 bit English


version.

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
 

Once the download is complete, Double-click on the MSI le. It opens the installation wizard. Click Next to


continue.

 Select the I Accept the terms in the License Agreement check box and click Next.

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
 

Click on the Complete button.


Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
 

Select Install button to begin the installation.


Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
 

It will take few minutes to complete the installation. Click Finish to close the installation wizard.

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
 

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
 

PACKAGE CREATION IN SOURCE SERVER (WINDOWS 2008 R2)

Open the command prompt and run the below command to back up the IIS con guration before proceeding the

migration.

%windir%\system32\inetsrv\appcmd add backup “PreWebDeployMigration”

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
 

IIS con guration backup will be available in  C:\windows\system32\inetsrv\backup folder.


Change the path to web deploy installed directory in command prompt. The default path is C:\Program

Files\IIS\Microsoft Web Deploy V3 folder.

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Execute the below command to get the dependencies of the website. Verify the output of the dependencies and


make sure that those components were installed correctly on the destination server.

msdeploy -verb:getDependencies -source:metakey=lm/w3svc/1

In this demo, we have to change the DefaultAppPool .NET framework version from 2.0 to 4.0. So the same

version of .NET needs to be installed on the destination server.

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Note : As we are migrating the websites to windows 2016 (IIS 10) and we have
already installed the .NET 4.6 in the destination server.


Execute the below command to create a compressed package le of IIS websites.

msdeploy -verb:sync  -source:metakey=lm/w3svc/1 -dest:package=c:\Site1.zip >


WebDeployPackage.log

All the web application under default website was compressed as a zip le and placed it under C:\ drive. Also, you

can verify the processed logs in C:\Program Files\IIS\Microsoft Web Deploy V3 folder.

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
 

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
 

Move the compressed package to the destination server. We moved the le through the local network share.

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
 

EXTRACT PACKAGE IN DESTINATION SERVER (WINDOWS 2016)

Execute the below command to validate the package with the server dependencies.

msdeploy -verb:sync -source:package=c:\Site1.zip -dest:metakey=lm/w3svc/1 -whatif >


WebDeploySync.log

The above command will show the information if any dependencies is missing in the destination server.

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
As per this demo, We have already enabled .NET 4.6 through server manager.

Once you veri ed the output, run the same command without –whatif option.

msdeploy -verb:sync -source:package=c:\Site1.zip -dest:metakey=lm/w3svc/1 > WebDeploySync.log

Open the IIS manager and verify the web applications are available under default web site.

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
 

Verify the website by accessing through a web browser.


Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
 

VIDEO

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Steps to Migrate the Websites from IIS 7.5 to IIS 10

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Thanks for reading this blog. We hope it was useful for you to learn about migrating websites from IIS
7.5 to IIS 10.

iis iis7.5 to iis 10 migration windows server 2008 r2 windows server 2016 SHARE

AUTHOR:

LOGES
Logeswaran holds Microsoft certi ed engineer & solution architect certi cations with over
11+ years of experience in the elds of hosting technologies and IMS/Cloud consulting. At
AssistanZ, Logeswaran spearheads the strategic planning and execution of the company’s Microsoft based core
technologies to Enterprise clients.

leave a reply

Name E-mail Website

Message *

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
 post a comment

Quick Links Let Us Help

About US Email | Submit Enquiry


Cloud Services
IMS Consultancy  Call Us : +1 888 500 1070 (Toll Free)
Services
Mobility
Software Engineering
Contact Us
Careers

Services

cPanel Server Management


Linux Plesk Server Management
Windows Plesk Server Management

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD

Potrebbero piacerti anche