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?
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.
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!
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.
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
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.
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.
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.
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.
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.
I am still getting redirected when www. is not typed in the URL. Is there some kind of workaround?
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.
@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.
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.
Fubar
62
Super User 2025 Season 2
Lucas001
48
Super User 2025 Season 2
KevinGador
44
Super User 2025 Season 2