After changing developer portal custom domain, requests are no longer accepted in-portal with old custom domain

hampton123 1,055 Reputation points
2024-05-01T20:55:50.1366667+00:00

Hi, recently I added a new gateway custom domain to my API management service. Requests sent to this new API domain were successful. However, when I tried to add a second custom domain to the user portal, the first domain and the second domain both did not work. Now that I've deleted the second custom domain, the first domain is still not working. How should I go about fixing this issue?

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,801 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. JananiRamesh-MSFT 22,121 Reputation points
    2024-05-02T07:39:34.7933333+00:00

    @hampton123 Thanks for reaching out. From the description I understand that you have created a custom domain for the developer portal, and you were not able to access the portal using previous domain. Please note the Developer Portal endpoint does not support multiple Urls.  When you assign a custom domain to the Developer Portal endpoint, the default certificate is no longer presented, and users should only use the custom domain to access the portal.

    please refer: https://learn.microsoft.com/en-us/azure/api-management/configure-custom-domain?tabs=custom#considerations