The following error occurs when the application deployment fails, in case the host name in the staged application configuration does not match the back-end server name configured in the ePortal Manager.
Deployment failed because of host name mismatch. The host name in the staged application configuration does not match with the back-end server name configured in ePortal Manager.
To resolve the issue, perform the following steps:
Get the correct back-end server name that is configured in the ePortal Manager.
To get the correct back-end server name, perform the following:
Start the ePortal Management website.
On the Main Menu, click Manage, and then click Back-End Servers.
On the Manage Back-End Server page, the configured back-end server name appears under Name.
Use the ePortal Developer to modify the host name property value with the configured back-end server name that you got from the previous step.
For the failed .NET Framework based applications, change the host name property value in the ePortal Application Configuration dialog box. Additionally, ensure that the host name values in the Redundant Connection List property are the same as the back-end server names configured in the ePortal Manager.
For the failed .NET Core based applications, change the host name value in the <DatasourceProjectName>.json file.
Restage and deploy the application.