Sitecore Commerce Installation Error: The remote name could not be resolved:

Error:
[----------------------- Module-SXAFramework_InstallModule : InstallModule -------------------------------------------]
VERBOSE: Resolving ConfigFunction extension 'concat'
VERBOSE: Resolved 'Invoke-ConcatConfigFunction'
VERBOSE: Resolving ConfigFunction extension 'concat'
VERBOSE: Resolved 'Invoke-ConcatConfigFunction'
VERBOSE: Invoke-ConcatConfigFunction
VERBOSE: Concatenating: http:// sc92commdev2.newstorefront2.com
VERBOSE: Result: http://sc92commdev2.newstorefront2.com
VERBOSE: Invoke-ConcatConfigFunction
VERBOSE: Concatenating: http://sc92commdev2.newstorefront2.com /SiteUtilityPages
VERBOSE: Result: http://sc92commdev2.newstorefront2.com/SiteUtilityPages
Installing module:  Sitecore Experience Accelerator 1.9.0 rev. 190528 for 9.2.zip
http://sc92commdev2.newstorefront2.com/SiteUtilityPages/InstallModules.aspx?modules=Sitecore Experience Accelerator
1.9.0 rev. 190528 for 9.2.zip
VERBOSE: GET http://sc92commdev2.newstorefront2.com/SiteUtilityPages/InstallModules.aspx?modules=Sitecore Experience
VERBOSE: Accelerator 1.9.0 rev. 190528 for 9.2.zip with 0-byte payload
Install-SitecoreConfiguration : The remote name could not be resolved: 'sc92commdev2.newstorefront2.com'
At C:\deploy\Sitecore.Commerce.WDP.2019.07-4.0.165\SIF.Sitecore.Commerce.3.0.28\My-SC9-XC-Deploy-Sitecore-Commerce -
latest-2 - dev.ps1:93 char:1
+ Install-SitecoreConfiguration @params -Verbose *>&1 | Tee-Object "$PS ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration

[TIME] 00:00:06
Invoke-RestMethod : The remote name could not be resolved: 'sc92commdev2.newstorefront2.com'
At C:\deploy\Sitecore.Commerce.WDP.2019.07-4.0.165\SIF.Sitecore.Commerce.3.0.28\Modules\SitecoreUtilityTasks\SitecoreUt
ilityTasks.psm1:19 char:5
+     Invoke-RestMethod $urlInstallModules -TimeoutSec 720
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebExc
   eption
    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand

Solution:
Was trying a fresh install but Master_SingleServer.json "Includes" head was pointing to SXA Install module install instead of start point in the full list. So, copied over the correct Master_SingleServer.json with full list of "Includes" and the error was gone. 

Comments