Recently we have deployed a DXA site with a dev domain. After deployment when we have requested to the site suing dev domain an error logged saying no localization found error.
Please find the error message below:
12:07:14.589 [http-nio-8080-exec-10] ERROR c.s.w.c.controller.PageController - Failed to retrieve localization for request url = https://dev-xxxxx.net/, uri = / com.sdl.webapp.common.api.localization.LocalizationNotFoundException: Localization not found for https://dev-xxxxx.net/
While investing we found the app is hosted using kubernete cluster with port 8080.
In the topology we have registered the below two URLs:
https://dev-xxxxx.net [For dev domain]
http://localhost:8072 [For local setup and testing]
While the DXA app works for the URL http://localhost:8072 and gives localization error for the URL https://dev-xxxxx.net.
As port 8080 is registered for some other publication in the Topology, we have used port 8071 for our app.
Do we need to configure the Kubernete cluster with port 8072 in such case to access the app using https://dev-xxxxx.net or is there any other settings for such cases in DXA.
Please help !!