Skip to main content
Community site session details

Community site session details

Session Id :
Power Pages - Power Apps Portals
Answered

Custom Domain name redirects to .powerappsportals.com

(1) ShareShare
ReportReport
Posted on by 75

I created a portal website and went through the steps provided by Microsoft to add a custom domain, this is the document https://docs.microsoft.com/en-us/powerapps/maker/portals/admin/add-custom-domain.  The problem I have is that every time I type the URL, it keeps redirecting to the .powerappsportals.com which is not what I want. I had asked Microsoft service if the custom URL will be redirected to the .powerappsportals.com and they said no, so that makes me believe that there should not be any redirecting going on. The environment is a production environment. Has anyone encountered this?

  • ragavanrajan Profile Picture
    7,036 Most Valuable Professional on at
    Re: Custom Domain name redirects to .powerappsportals.com

    Glad to hear that @chrisOrtiz. Would be great if you can mark it as a solution, please? So that others can benefit. Thanks for your understanding. 

  • Verified answer
    chrisOrtiz Profile Picture
    75 on at
    Re: Custom Domain name redirects to .powerappsportals.com

    My domain name is no longer redirecting. It was an odd issue because the CNAME was already set on the godaddy admin without me touching it and I still had redirecting. What I did was remove it, and re-added it. What I did not know was that it takes 24 hours on godaddy side for it to take effect so that was the confusion, godaddy informed me to wait 24hrs. So I think I just needed to reset the CNAME, by that I mean that I had to remove and re-add the CNAME and allow the 24 hours to pass by. Now it work! thanks!

  • FilipB Profile Picture
    23 on at
    Re: Custom Domain name redirects to .powerappsportals.com

    You are right, the www configuration was made erroneously. I think a forwarding solution like you provided should be fine. Thank you for the reply, very helpful.

  • ragavanrajan Profile Picture
    7,036 Most Valuable Professional on at
    Re: Custom Domain name redirects to .powerappsportals.com

    Hi @FilipB 

     

    I understand your CNAME records include the WWW? Are you sure you want it with WWW as no one is now using www commonly. As @chrisOrtiz  mentioned normally customers prefer without WWW. Even the same in our case as well. 

     

    It is a broad topic if you need both then please follow the below thread for Permanent, temporary redirect 

    https://stackoverflow.com/questions/5870638/how-do-i-to-forward-domain-com-to-www-domain-com-at-godaddy-for-s3-hosted-site 

     

    Hope it helps. 

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • FilipB Profile Picture
    23 on at
    Re: Custom Domain name redirects to .powerappsportals.com

    Hi @ragavanrajan ,

    As I can see in the docs you can only assign one domain name to the Portal instance (admin.powerplatform.microsoft.com -> Portal -> Manage -> custom domain configuration). I saw that we had a www. domain registered here with an SSL binding. So this was probably why our www. domain was functioning normally and the domain without the www. subdomain didn't (it redirected automatically to powerappsportals.com).
    My question is, if we register our domain here (without the www. subdomain), will this then function both with that domain and the www. subdomain (without redirects to the initial powerappsportals.com)?
    I am replying to this thread because I think this is related to the posted problem and we could both benefit from the answers. Thank you for any help and please let me know if additional clarification is necessary.

  • ragavanrajan Profile Picture
    7,036 Most Valuable Professional on at
    Re: Custom Domain name redirects to .powerappsportals.com

    Hi @chrisOrtiz 

     

    The solution is simple, you should only have one CNAME record in total. So to make things clear. 

    Remove all CNAME records first. 

     

    1. Add a CNAME record with your custom domain name and in the canonical name add your actual URL. 

     

     

    Type Domain Name Canonical Name TTL  
    CNAME Yourcustomdomain.com yourportal.powerappsportals.com 5 min

     

    once you have added wait for DNS to propagate. Then for sure, there will not be any redirects. 

     

    Hope it helps. 

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • chrisOrtiz Profile Picture
    75 on at
    Re: Custom Domain name redirects to .powerappsportals.com

    I'm sorry www was not in front and had the name as you mentioned. example.powerappsportals.com. Just incase I re-added. 

    There are actually 2 CNAME records the second one seem to do anything and has a underscore "_" in the front. Everything I have seen about custom domain seems to work. 

    chrisOrtiz_0-1618286244945.png

    I am still getting redirected when www. is not typed in the URL. Is there some kind of workaround?

     

  • ragavanrajan Profile Picture
    7,036 Most Valuable Professional on at
    Re: Custom Domain name redirects to .powerappsportals.com

    Hi @chrisOrtiz  pls remove the www and leave the powerappsportals.com.

    So it will look like example.powerappsportals.com.

     

     

    As you mentioned users are not going to use www.

     

    Then you need to wait until DNS will take effect.

  • chrisOrtiz Profile Picture
    75 on at
    Re: Custom Domain name redirects to .powerappsportals.com

    @ragavanrajan thank you and yes it does start with www 

    This is what I see, I would think that I should delete the .powerappsportals.com but I am not sure if that is required to be there. Thank you so much for helping me here.

    chrisOrtiz_0-1618274632772.png

     

  • ragavanrajan Profile Picture
    7,036 Most Valuable Professional on at
    Re: Custom Domain name redirects to .powerappsportals.com

    Hi @chrisOrtiz 

    From your screenshot, the second column (canonical name) where GoDaddy added your CNAME record. Does it include WWW in the front? 

    Alternative way of finding is 

     

    1. Log in to https://portal.azure.com 

    2. App Registrations > Owned applications > You can see Microsoft CRM portals registered for your production. 

    3. Under Authentication > Redirect URIs 

     

    Can you see something which is messed up there?  This will allow you to figure out the problem. 

     

    Hope it helps. 

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Pages

#1
Lucas001 Profile Picture

Lucas001 60 Super User 2025 Season 1

#2
Fubar Profile Picture

Fubar 55 Super User 2025 Season 1

#3
surya narayanan Profile Picture

surya narayanan 35