I have a local Sitecore instance with name sc90.local and I am trying to publish files on local instance using gulp.

Response error:

Upload failed: styles.css
Status code:503
URL: POST http://sc90.local//sitecore%20modules/PowerShell/Services/RemoteScriptCall.ashx?user=sitecore%5Cadmin&password=b&script=Foundation%5CXA%20Extensions%5CREACT%5CREACT/styles&sc_database=master&apiVersion=media&scriptDb=master
Category: Uncategorized URLs
Notification: DNS_FAIL

It is saying DNS Fail - but i have verified my local sitecore instance and it is working fine. I also checked the host file for (sc90.local) website and it is pointing to local system ( My system is behind the proxy so I set the proxy values on command prompt.

the file is also located in the system:

enter image description here

on printing the response body on command prompt I got some html which seems like my company standard response page

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Notification: DNS Failure</title>
<div class="logo"><img src="http://proxycfg.int.COMP.ca/COMP-logo.jpg" border="0"></div><p>&nbsp;</p>
<div class="shadow">
<h1>This Page Cannot Be Displayed</h1>
The host name resolution (DNS lookup) for this host name
(&nbsp;sc90.local&nbsp;) has failed. The Internet address may be misspelled or obsolete,
the host (&nbsp;sc90.local&nbsp;) may be temporarily unavailable,
or the DNS server may be unresponsive.
Please check the spelling of the Internet address entered.
If it is correct, try this request later.
<p><b> To Learn more about the COMP Internet Access Policy:   <a href="http://its.COMP/iso/websense.htm">COMP Internet Access Policy</a> </b></p>
If you have questions, please contact
Service Desk Ext. 1234
and provide the codes shown below.
<div class="details"><p>
Date: Tue, 21 Jan 2020 09:34:59 EST<br />
Username: INTCOMPCA\username@INTCOMPCA<br />
Source IP: [my IP]<br />
URL: POST http://sc90.local//sitecore%20modules/PowerShell/Services/RemoteScriptCall.ashx?user=sitecore%5Cadmin&#038;password=b&#038;script=Foundation%5CXA%20Extensions%5CREACT%5CREACT/scripts&#038;sc_database=master&#038;apiVersion=media&#038;scriptDb=master<br />
Category: Uncategorized URLs<br />
Reason: UNKNOWN<br />
Notification: DNS_FAIL
  • Please share the complete stack trace of the error from cmd prompt
    – Abhay Dhar
    Jan 21, 2020 at 8:25
  • @AbhayDhar : Added the response body in the question. There is a request structure as : ```` let headerAuth={'Authorization' : syncArgv.basicAuth}; let url = [ options.server, options.uploadScriptPath, '?user=', options.user, '&password=', options.password, '&script=', options.mediaLibPath, '/', relativePath, '&sc_database=master&apiVersion=media&scriptDb=master' ].join(''); ''''
    – ironman
    Jan 21, 2020 at 14:49
  • and you are running gulp on the same machine where sitecore is installed ?
    – Abhay Dhar
    Jan 21, 2020 at 17:32
  • yes, I am running everything on single local machine.
    – ironman
    Jan 21, 2020 at 18:18
  • strange thing is, when I try to access the same url from browser i get : "HTTP Error 403.0 - The request could not be completed because the service is disabled. You do not have permission to view this directory or page." system error page. URL is : sc90.local//sitecore%20modules/PowerShell/Services/…
    – ironman
    Jan 21, 2020 at 18:19

1 Answer 1


The error is related to the IIS settings, Sitecore installation gave only https binding on website and not the http binding and the url in the question is trying to access the file on http.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.