How to find the Magento 2 backend's base URL?

backend-url
env.php

(Dmitry Fedyuk) #1

You can find the backend’s URL suffix in the app/etc/env.php file:

The full Magento 2 backend’s base URL is <frontend base URL>/<backend suffix>.

You can find it faster with the command line.


app/etc/env.php — the place where Magento 2 stores the database credentials, backend URL, enabled cache types, etc
(Muneeb Syed) #2

Thanks for the solution.

Another way to check the admin URL is by running this command:

php bin/magento info:adminuri