In magento 1, To change the admin url we directly change in the local.xml file.

Now you are thinking what will be do in Magento 2. Don’t worry it is easy same as Magento 1. But File is different to change the admin url.

To change the url open the file env.php in the path app/etc.

Change the code

We can change the front name and save the file. Then clear the cache from var/cache folder.

Now login at admin side with new Admin Url

Enjoy the New Admin Url 🙂