Step 1: Login to your cPanel.
Step 2: Click the File Manager under File option.
Step 3: Go to Document Root Directory[/home/username/public_html]. Double click on the app directory.
Step 4: Double click on the etc directory
Step 5: Rick click on local.xml and select edit from the menu.
Step 6: Locate the following (normally towards the bottom)…
Step 7: Replace the “admin” part with the new URL you wish to use. Make sure you leave the brackets. For our example, we changed it to the following…
Step 8: Save the file
Step 9: Next time you wish to use the admin panel, put the new path in rather than “admin”. For example, www.example.com/newadminpath