You will need to log into cPanel with your supplied username and password.
Normally this URL is: http://vvvvw.joomquery.com/cpanel. Select the Username ﬁeld and enter your username.
Next select the Password ﬁeld and enter your password. Now select the Log in button.
From the Files section, click on the File Manager icon. When prompted select to open the Web Root and click the Go button. Select the directory named ‘joomla’ by clicking on it. Next right click the folder name and select the Rename option.
Add the letters ‘my’ to the directory name and click the Rename File button.
Now double click the ‘myjoomla’ folder. Select the ‘conﬁguration.php’ ﬁle and right click. Then select the Edit option. Select the Edit button.
Scroll down to the bottom of the editor window. Select the place in the $log_path where we will edit it to match our new directory name.
Change the path to read ‘myjoomla’ from just ‘joomla’. Do the same for the $tmp_path value. Next click the Save Changes button. Now select the Close button. Select Yes to close the window.
You now know how to rename your Joomla directory from cPanel