Deploy ZIP to IIS - how to (in detail)?


#1

Hello,

I have successfully created a ZIP file for deployment.
base href: "Default Web Site/app-2"

OK, so now I have a ZIP containg my app ("app2") - but how do I exactly deploy to IIS (in my case IIS 8.5 on Windows 2012R2)

I have IIS folder structure on my server like this:
c:\inetpub\wwwroot

Now where should I copy all the files from the ZIP?

  1. Should I delete existing wwwroot folder and copy the one from the ZIP ?
  2. Should I create subfolder under existing wwwroot ?
  3. Should I create folder "app2" - and if so - where ? under existing wwwroot?
  4. What is final folder structure for an application named "app-2" ?
  5. How to configure access/credentitals to SQL-Server (in my case local, so SQL-Server is on same server as IIS)

I have read


and checked forum, but I can not make the ZIP work...


#2

If you want to deploy a ZIP file to IIS you should follow these steps. By the way the Base href should be set to /app-2. The thing you have used Default Web Site/app-2 is for IIS deployment (by the way why don't you use deploy to IIS?).


#3

Do you have similar steps for deploying to Azure?
I'm getting Passive socket timeout error


#4

Here is a Microsoft Article the ZIP file gets extracted in site/wwwroot.


#5

Thanks for that, I found the Zip deployment tool you mentioned and uploaded the zip file, now I i'm trying to get the application to come up, but the page is blank.

this is the website
https://panelform-easyorder-radzen.azurewebsites.net/

the base ref is "/easy-order"


#6

Hi @Dominic_Lallemant,

I believe that Azure applications are hosted in the root and when deploying to ZIP you should use / for base href.

Best Regards,
Vladimir


#7

That did it!, thanks
I successfully deployed my app