I had configured IIS in local system and it serving the web pages. I copied the arcgis_js_api in c:\Inetpub\wwwroot
C:\Inetpub\wwwroot\arcgis_js_api\library\4.1\4.1\init.jsin a text editor and search for the text
[HOSTNAME_AND_PATH_TO_JSAPI], and replace this text with
I replaced <a href="https://en.wikipedia.org/wiki/Top-level_domain">fqdn.tld</a>/arcgis_js_api/library/4.1/4.1/ with [HOSTNAME_AND_PATH_TO_JSAPI] in C:\inetpub\wwwroot\arcgis_js_api\library\4.1\4.1\init.js. I suspect here I am doing the mistake in above step.
I took the sample code from
When I try to access .css/init.js which is hosted in local server, I can browse in browser. I changed the TileLayer URL REST service and it also browse in the browser.
What step I am missing here?
Thanks In Advance.