You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/api-management/configure-custom-domain.md
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ author: dlepow
7
7
8
8
ms.service: azure-api-management
9
9
ms.topic: how-to
10
-
ms.date: 05/09/2025
10
+
ms.date: 05/30/2025
11
11
ms.author: danlep
12
12
ms.custom: engagement-fy23
13
13
---
@@ -48,10 +48,10 @@ There are several API Management endpoints to which you can assign a custom doma
48
48
| Endpoint | Default |
49
49
| -------- | ----------- |
50
50
|**Gateway**| Default is: `<apim-service-name>.azure-api.net`. Gateway is the only endpoint available for configuration in the Consumption tier.<br/><br/>The default Gateway endpoint configuration remains available after a custom Gateway domain is added. |
51
-
|**Developer portal**| Default is: `<apim-service-name>.developer.azure-api.net`|
52
-
|**Management**| Default is: `<apim-service-name>.management.azure-api.net`|
53
-
|**Configuration API (v2)**| Default is: `<apim-service-name>.configuration.azure-api.net`|
54
-
|**SCM**| Default is: `<apim-service-name>.scm.azure-api.net`|
51
+
|**Developer portal**(all tiers except Consumption) | Default is: `<apim-service-name>.developer.azure-api.net`|
52
+
|**Management**(classic tiers only) | Default is: `<apim-service-name>.management.azure-api.net`|
53
+
|**Self-hosted gateway configuration API (v2)**| Default is: `<apim-service-name>.configuration.azure-api.net`|
54
+
|**SCM**(classic tiers only) | Default is: `<apim-service-name>.scm.azure-api.net`|
55
55
56
56
### Considerations
57
57
@@ -60,6 +60,7 @@ There are several API Management endpoints to which you can assign a custom doma
60
60
* Only API Management instance owners can use **Management** and **SCM** endpoints internally. These endpoints are less frequently assigned a custom domain name.
61
61
* The **Premium** and **Developer** tiers support setting multiple hostnames for the **Gateway** endpoint.
62
62
* Wildcard domain names, like `*.contoso.com`, are supported in all tiers except the Consumption tier. A specific subdomain certificate (for example, api.contoso.com) would take precedence over a wildcard certificate (*.contoso.com) for requests to api.contoso.com.
63
+
* When configuing a custom domain for the **Developer portal**, you can [enable CORS](enable-cors-developer-portal.md) on the new domain name. This is needed for developer portal visitors to use the interactive console in the API reference pages.
Cross-origin resource sharing (CORS) is an HTTP-header based mechanism that allows a server to indicate any origins (domain, scheme, or port) other than its own from which a browser should permit loading resources.
15
18
16
19
To let visitors to the API Management [developer portal](developer-portal-overview.md) use the interactive test console in the API reference pages, enable a [CORS policy](cors-policy.md) for APIs in your API Management instance. If the developer portal's domain name isn't an allowed origin for cross-domain API requests, test console users will see a CORS error.
17
20
18
21
For certain scenarios, you can configure the developer portal as a CORS proxy instead of enabling a CORS policy for APIs.
+ Complete the following quickstart: [Create an Azure API Management instance](get-started-create-service-instance.md)
@@ -41,6 +42,9 @@ You can enable a setting to configure a CORS policy automatically for all APIs i
41
42
42
43

43
44
45
+
> [!TIP]
46
+
> When configuring a [custom domain](configure-custom-domain.md) for the developer portal, you can enable a CORS setting for the custom developer portal domain name. This setting is added to the CORS policy configuration for the default developer portal domain name, if you already enabled it.
0 commit comments