Environment
- Azure API Management (managing custom domain + SSL)
Problem
Our API has begun returning errors for all requests despite no changes having been made to our infrastructure.
When navigating to an endpoint via the APIM-managed custom domain in the browser, we first see:
ERR_CERT_COMMON_NAME_INVALID
Proceeding past the certificate warning then shows:
404 Web Site not found.
You may be seeing this error due to one of the reasons listed below:
* Custom domain has not been configured inside Azure.
* Client cache is still pointing the domain to old IP address. Clear the cache by running the command ipconfig/flushdns.
Bypassing APIM and hitting the backend endpoint directly confirms the API itself is online and responding correctly. The issue appears to be isolated to the APIM-managed custom domain layer.
What we have verified
- ✅ Backend API is online — direct requests return expected responses
- ✅ Managed certificate has not expired (confirmed in Azure portal)
- APIM backend URL is set to [confirm hostname]
Support Ticket
We attempted to raise a support ticket via the Azure portal but were unable to complete the process despite having an active support plan and the appropriate permissions. We are posting here in the hope of getting some guidance in the meantime.
Question
What could cause this and how should we go about resolving it?
Any guidance appreciated. Thanks.