I forgot to take note of the admin URI during installation.
Is there a way to retrieve it?
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.Sign up to join this community
Quick answer (Through file system):
You can also retrieve the the Magento 2 Admin URL in
<your Magento install dir>/app/etc/env.php. Example of the relevant file content:
'backend' => array ( 'frontName' => 'admin_test', ),
Quick answer (Using CLI):
php bin/magento info:adminuri
newadminpath is the new Magento 2 Admin URL
Go to app/etc from the root directory of your Magento 2 store. Here you can see env.php file and you can see the admin name:
<?php return array ( 'backend' => array ( 'frontName' => 'admin', )
You can also change the admin name by running the command in the root directory:
php bin/magento setup:config:set --backend-frontname="magento"
The above command will change the admin name as magento. You can access the admin panel by: www.domain.om/magento