Display Adobe Commerce error report number instead of Fastly 503 error
By default, Fastly hides all Adobe Commerce errors behind the 503 Service Unavailable error. To display the Adobe Commerce error log report number (to be able to find it in logs and see the error details), open the website omitting Fastly using these steps:
- Add your application’s domain and IP address to your hosts file on your local machine.
- Clear the browser cache and cookies (or switch to incognito mode).
- Open your store’s website again to see the Adobe Commerce error.
Once you see the authentic Adobe Commerce error and the error report number, you may get details in the error report file by following these steps:
- SSH to the affected environment. Refer to SSH to an environment in our developer documentation.
- Locate the
./var/report/{error_number}
file.
Add application domain and IP address to your hosts file: detailed steps
-
Check the server IP of your store by executing the
nslookup
command in the command line on your local machine:- Pro architecture users (Staging and Production environments):
code language-none nslookup {your_project_id}.ent.magento.cloud
- Starter architecture users (all environments); Pro architecture users (Integration environment):
code language-none nslookup gw.{your_region}.magentosite.cloud
-
Add your store domain and application server IP to the hosts file on your local machine using the following format:
{server_IP} {store_domain}
recommendation-more-help
8bd06ef0-b3d5-4137-b74e-d7b00485808a