0

We have an Azure API Management Service and we need to configure custom domain with custom SSL certificate. We have it added to the custom domain section of the service as Proxy endpoint and have a certificate uploaded too. The deployed APIs reports the new hostname in Settings > Base URL but when I invoke the API url it replys with "Unknown host".

Any ideas?

Premier
  • 3,952
  • 6
  • 39
  • 56
  • 1
    Have you done CNAME mapping of the Custom Domain to .azure-api.net in your DNS? – Samir Feb 12 '19 at 20:09
  • Have you attached this APIM insatnce inside VNET ? – Inzi Feb 13 '19 at 08:01
  • Hope you have followed all the steps here,https://docs.microsoft.com/en-us/azure/api-management/configure-custom-domain – Inzi Feb 13 '19 at 08:01
  • @Samir nope, Should I do that? It isn't reported on the MS guide https://docs.microsoft.com/en-us/azure/api-management/configure-custom-domain – Premier Feb 13 '19 at 08:50
  • @Premier it's mentioned somehow vaguely. Notice point three in Prerequisites section. The basic idea is that provisioning custom domain in APIM allows it to accept requests sent to that hostname. But to make clients actually send requests to correct IP address you need to configure DNS externally. – Vitaliy Kurokhtin Feb 13 '19 at 18:04

0 Answers0