Portal Home > Knowledgebase > Articles Database > change Home Directory for a account cPanel ?


change Home Directory for a account cPanel ?




Posted by moath1, 06-10-2011, 10:23 PM
hello,, i want to change the Home Directory for a account cPanel it's located in: /home/m32d/public_html i want to change this to: /secure/users/m32d/ thanks

Posted by linux-techie, 06-10-2011, 10:50 PM
after /home/m32d/ it can be changed . Else your hosting will have to create user secure and make changes in httpd.conf

Posted by moath1, 06-10-2011, 11:24 PM
can you explain more please

Posted by swiftyCMS, 06-11-2011, 11:30 PM
You want to change a home directory for a user to below "home"??? As moath1 stated, please explain more...

Posted by Kristian0911, 06-12-2011, 12:11 AM
You will need to change username for the cpanel account, once you have changed it you will need to make changes in /etc/passwd file through shell and change the home directory. You will also need to change the document path in httpd.conf file............

Posted by linuxtechz, 06-14-2011, 02:54 AM
Hey , this can be done by changing the document root on the httpd.conf for apache webserver.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
who is using lighttpd? (Views: 736)


Language: