Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Ben Palmer 169 posts 815 karma points c-trib
    Jul 25, 2018 @ 11:43
    Ben Palmer
    0

    Overriding Default Domain

    Hi,

    I have a multi-site installation hosted on Azure with a little bit of an odd set up. Basically, we've disabled access to the *.azurewebsites.net domain as this routes to the default homepage that we have set up in Umbraco.

    So now we access the site on one of the secondary domains that we've set up and run into a little problem. When you do a password reset at the secondary domain, it sends out an email but the link in the email uses the default domain (*.azurewebsites.net/umbraco...). As I've blocked access to this, the link no longer works.

    Does anyone know of away to change the domain that is used for the password reset email that gets sent out?

    Thanks in advance,

    Ben

  • Alex Skrypnyk 6050 posts 23163 karma points MVP 5x admin c-trib
    Jul 30, 2018 @ 14:57
    Alex Skrypnyk
    0

    Hi Ben

    Did you add "*.azurewebsites.net/umbraco" domain to Umbraco domains? Can you leave only secondary domain in Manage domains section in Umbraco?

    Thanks

    Alex

  • Alex Skrypnyk 6050 posts 23163 karma points MVP 5x admin c-trib
    Aug 09, 2018 @ 13:21
    Alex Skrypnyk
    0

    Hi Ben

    Did you solve this issue? Can you share the solution with our community?

    Alex

  • Christopher 23 posts 96 karma points
    Oct 22, 2021 @ 11:00
    Christopher
    0

    Hi there,

    Old question but on stumbling across it, I happen to have an answer handy.

    In config > umbracoSettings.config

    There's a section web.routing which allows you to set the application URL with the umbracoApplicationUrl attribute.

Please Sign in or register to post replies

Write your reply to:

Draft