Hello
I have a problem when the user, at the site, clicks to use an application installed from the public store. let me describe all the process and please help what i miss or what i misunderstood.
(N.B. ips and names are fictitious but consistent with real situation)
DNS settings:
dom.gl 90.90.90.1
area1.dom.gl 10.10.10.1
area2.dom.gl 10.10.10.1
share.dom.gl 10.10.10.1
business.es 90.90.90.1
cust1.business.es 90.90.90.3
cust2.business.es 90.90.90.3
businessapp.es 90.90.90.1
apps.businessapp.es 90.90.90.3
90.90.90.1 and 90.90.90.3 is the same machine with 2 ips have only iis at 90.90.90.1 and 90.90.90.3 is natted to the SharePoint machine at 10.10.10.1
the configuration of the HNSC have been done as follow:
# Añadir los enlaces (bindings) de cada aplicacion web # (hay que hacerlo encada servidor WFE) Import-Module WebAdministration New-WebBinding -Name "share.dom.gl" -HostHeader "area1.dom.gl" New-WebBinding -Name "share.dom.gl" -HostHeader "area1.sh.dom.gl" New-WebBinding -Name "share.dom.gl" -HostHeader "cust1.business.es" Set-SpSiteUrl -identity http://area1.dom.gl -Url http://area1.sh.dom.gl -Zone 2 Set-SpSiteUrl -identity http://area1.dom.gl -Url http://cust1.business.es -Zone 4 New-WebBinding -Name "share.dom.gl" -HostHeader "area2.dom.gl" New-WebBinding -Name "share.dom.gl" -HostHeader "area2.sh.dom.gl" New-WebBinding -Name "share.dom.gl" -HostHeader "cust1.business.es" Set-SpSiteUrl -identity http://area2.dom.gl -Url http://area2.sh.dom.gl -Zone 2 Set-SpSiteUrl -identity http://area2.dom.gl -Url http://area2.business.es -Zone 4
#Primero los managed Path:
New-SPManagedPath "area" -Explicit -HostHeader -ErrorAction ContinueNew-SPSite http://area1.dom.gl -HostHeaderWebApplication http://share.dom.gl -Name "Area1" -Template "STS#0" -OwnerAlias "account" -Language 3082 -CompatibilityLevel 15
New-SPSite http://area2.dom.gl -HostHeaderWebApplication http://share.dom.gl -Name "Area2" -Template "STS#0" -OwnerAlias "account" -Language 3082 -CompatibilityLevel 15
and now how i config Apps for SharePoint:
$ErrorActionPreference = 'Stop' $appHostDomain = "apps.businessapp.es" $appPoolServiceApps = Get-SPServiceApplicationPool -Identity "SharePoint Web Services Default" $appSubSvc = New-SPSubscriptionSettingsServiceApplication –ApplicationPool $appPoolServiceApps –Name "Settings Service Application" –DatabaseName SettingsServiceDB $proxySubSvc = New-SPSubscriptionSettingsServiceApplicationProxy –ServiceApplication $appSubSvc $appAppSvc = New-SPAppManagementServiceApplication -ApplicationPool $appPoolServiceApps -Name "App Management Service Application" -DatabaseName AppServiceDB $proxyAppSvc = New-SPAppManagementServiceApplicationProxy -ServiceApplication $appAppSvc Set-SPAppDomain $appHostDomain Set-SPAppSiteSubscriptionName -Name "app" -Confirm:$false
Well (thats all) please don't give-up, from now on and with the draw you already made it's more easy.......
and now i go to:
http://cust1.business.es -> add application -> sharepoint warehouse and install an application. everything correct.
when i click the Tile application on the all content site page the browser goes to:
http://app-b29fc6b03c3954.apps.businessapp.es/............ and gives me a 404 error
If i click on the link at the site gives me the same error, the URL:
http://cust1.business.es/_layouts/15/appredirect.aspx?instance_id={118450F6-C2B6-47CB-AF8A-7C619FCBC50C}
A nslookup over app-b29fc6b03c3954.apps.businessapp.es
gives me:
> nslookup app-b29fc6b03c3954.apps.businessapp.es
Server: XXXXXX
Address: XXXXXXXXX
Name: http://app-b29fc6b03c3956.apps.businessapp.es
Address: 90.90.90.3
I think should be something related with the bindings of IIS, but nor know what and how
HELP PLEASE.