Base solution for your next web application

Activities of "[email protected]"

Question

.NET Core & Angular - latest version, .NET8 I have been trying to get this working for a couple days, and have read the similar posts but am having no luck. I want to be able to hit each tenant using the URL : https://tenantName.mydomain.com

My web apps:

  • API (host) - https://myserver.azurewebsites.net (Azure web app)
  • Angular app - https://mydomain.com (Azure web app)

My settings (host):

  • ServerRootAddress: https://{TENANCY_NAME}.myserver.azurewebsites.net
  • ClientRootAddress: https://{TENANCY_NAME}.mydomain.com

My Settings (angular):

  • remoteServiceBaseUrl: https://{TENANCY_NAME}.myserver.azurewebsites.net
  • appBaseUrl: https://{TENANCY_NAME}.mydomain.com

DNS

  • mydomain.com is working and is set as a custom domain for the Azure Web App hosting the angular project.
  • I have a wildcard A record in place for mydomain.com that points to the IP of the Azure Web App hosting the angular project.

Browsing to https://tenantName.mydomain.com with a valid tenant name just gives a "site can't be reached" error in the browser. Same when I try to login as a tenant from the host admin UI.

Any help would be appreciated! Thanks.

Showing 1 to 1 of 1 entries