Hi @John Wong Yek Hon Greetings! Thank you for posting this question here.
Azure container app lets you assign a custom domain name to the app instance. However, during the set up of a custom domain, you most likely would not be able to use the default domain name of the Web app. The domain name xxxx.azurewebsites.net is managed by Azure and is tied to the specific Azure App Service instance. This cannot be set as a custom domain on container app.
You would have to change the end points to configure to the new container app end point.
Going forward, consider using an Azure API instance as you change the architecture. Following this approach, you can have the client applications to hit the end point managed by APIM instance and let APIM forward the request to Container App. If you decide to change the backend, you would not have to change the client applications. Please refer the documentation Import an Azure Container App as an API