Web AppBuilder - Deploy Web App Steps?

19626
31
Jump to solution
07-08-2015 09:53 AM
BenGrod
Occasional Contributor III

Any guidance on deploying a web app designed in Web AppBuilder and to be hosted on our local Portal for ArcGIS (10.3). The app was necessary because it has one custom widget (elevation profile). I built the app in Web AppBuilder and tested out the widget which works fine. I downloaded the app as instructed through Web AppBuilder. The next step says to unzip the app and "Deploy it on your web server." This is where I need help, I've never deployed a website before. On our web server there is a inetpub folder with a subfolder wwwroot. Is this where the unzipped site content should reside? Thanks for any guidance.

31 Replies
CheolyeongPark
New Contributor II

Hi Robert,

for more detail I followed your steps from MS azure VM using windows server 2016. 

After working on it for a while I encountered this error on my console.

Thanks again Robert.

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Cheolyeong,

   You should see from the error that the url to your portal is HTTPS and not http like you have in your proxy.config and your WAB proxy rules.

So the issue is likely you have "portalUrl": "https://spacewalk5.maps.arcgis.com", in your apps main config.json. If you change that url to http instead then you might be good to go.

0 Kudos
CheolyeongPark
New Contributor II

Robert.

thanks for the reply I really appreciate it; however even though I changed the portalUrl in my config.json I still gets the same error. error still show as "https" not "http". 

thank you.

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Ok, so add the https URL to your proxy.config

0 Kudos
CheolyeongPark
New Contributor II

Robert

yes I have tried it.but same error. since I am very new to all this, I usually do "brute force coding" where I try everything. I also tried enabling CORS. I just cant seems to get my finger around it.

thanks

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Did you also change the URL in the main config.json (the proxy rules)?

0 Kudos
CheolyeongPark
New Contributor II

Yes. If I made changes to either proxy rules on proxy.config or main config.json, I had made sure that they both serverUrl and urlPrefix are identical.

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Well if all your urls are https then I don't know why you would still see that error

0 Kudos
CheolyeongPark
New Contributor II

Its probably something fundamental which i am forgetting.

thank you Robert for all your help!

have a great weekend!

0 Kudos
FinbarGillen
Occasional Contributor

Robert Scheitlin, GISP​,

What does IIS stand for?

Regards

Finbar

0 Kudos