Deep link module ignoring custom domain.

I have a custom domain added.  Both the CommunityCommons “GetApplicationURL” and the DeepLink module both completely ignore it and use the “” domain based URLs instead.  How can I update my environment’s URL to the custom domain as the “official/default” app link?  Obviously I can detect and do a string replace, but I’m trying to find a way to configure this properly.
1 answers

As stated in the comment of Ian the answer can be found in the post

basically explaining that this can be done with a custom setting.

For reference the custom settings are nicely documented under: