By default, the Commerce Admin URL is set to <domain_name>/admin. This article shows how to change the URL.
Read the steps: Using a Custom Admin URL > Change from the Admin in our user guide.
From your Project Web Interface, add a new variable with:
Name: ADMIN_URL Value: new Admin URL
Submit a support ticket requesting to add the ADMIN_URL variable for your Staging or Production environment.
If Staging and Production are accessible from your Project Web Interface, add the Environment Variable as described in the Integration environment section above.
See Add environment variables in our developer documentation for detailed steps.
We don’t recommend adding global variables via Cloud CLI (the
magento-cloud project:variable:set <name> <value> command) since such global variables:
We recommend adding environment variables for every branch/environment using the
magento-cloud variable:set command.