Site not accessible due to origin cloaking
This article provides a solution for when your Adobe Commerce on cloud infrastructure staging or production site storefront and/or Admin is not accessible.
Affected products and versions
- Adobe Commerce on cloud infrastructure 2.3.x, 2.4.x
https://mydomain.com.c.<projectid>.magento.cloud/ is no longer accessible.
Steps to reproduce:
- Log in to your project.
- Click Access Project for a list of URLs and SSH.
Page fails to load with the following error:
NET::ERR_CERT_INVALID TLS alert, bad certificate (554):
Page loads successfully.
Origin Cloaking has been enabled, so the origin is no longer accessible directly.
Origin cloaking is a security feature that allows Adobe Commerce to block any non-Fastly traffic going to the cloud infrastructure (origin) to prevent DDoS attacks.
- If your cloud site is live, switch to https://mydomain.com/.
- If you have an active site (non-cloud), using the https://mydomain.com/ domain, set up a sub-domain
mcprod.mydomain.com and update your Base URL to https://mcprod.mydomain.com instead, then point the DNS to Fastly.
Fastly origin cloaking enablement FAQ in our support knowledge base.