Frequently Asked Questions
An Admin URL varies with every new platform installation. Once installed, the admin URL and path are below the Magento 2 base URL:
Default Base URL:
Default Admin URL and Path:
For the sake of security, it is recommended to change the default Magento 2 admin URL to a custom one. It’s highly advised to avoid the default ‘admin’ or the commonly used ‘backend’ names. This will help you avoid determined attackers and reduce exposure to scripts that try to break into Magento websites.
Any mistakes made during the Magento 2 change of admin URL in the database and the path change can result in access denial and can be corrected only from the server! Do not try to change the URL unless you know how to edit configuration files on the server!
¡Address your hosting provider before changing the default URL, as some hosting services require a standard URL to conform to the firewall protection rules!
There are two main ways you can set Magento custom Admin URL for your store:
¡The Admin URL must be in the same Magento installation and have the same document root as the frontend of the store!
'backend' => array ( 'frontName' => 'admin')
'backend' => array ( 'frontName' => ‘backend’)
Don’t forget to use the lowercase characters only and save the changes.
To secure your Magento 2 backend from the unauthorized login attempts and log all the backend activities, install our Admin Actions Log extension. Check all logs automatically and get notified of any suspicious activities.