ForgotPassword module and custom domains

0
Hi, I got a custom domain “app.mydomain.com” pointing (through CNAME) to “mydomain.mendixcloud.com”  (production environment) When ForgotPassword sends a message to new user asking for account activation, the URL is “mydomain.mendixcloud.com”. It does work perfectly on the “acceptance” environment with the exact same package … The CNAME configuration is similar for both :  accp → “accp.myydomain.com.cname.mendix.net.” app → “app.myydomain.com.cname.mendix.net.” Any idea ?
asked
1 answers
1

You probably need to set the runtime setting called ApplicationRootUrl. The value in ApplicationRootUrl is how the Mendix server knows where it lives, and is often used when an app needs to generate links back to itself. See here for more details:

https://docs.mendix.com/developerportal/deploy/custom-domains#8-3-how-do-i-get-my-saml-metadata-or-communitycommons-getapplicationurl-to-use-the-custom-url

 

answered