This article provides a solution for when your Magento Commerce Cloud staging or production site store front and/or Admin is not accessible.
Affected products and versions
- Magento Commerce Cloud 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.
Actual results: 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 Magento 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 subdomain mcprod.mydomain.com and update your Base URL to https://mcprod.mydomain.com instead, then point the DNS to Fastly .