how to place website files in root directory instead of public html folder

Operating System & Version
linux

Kayan

Registered
Jun 16, 2021
1
0
1
india
cPanel Access Level
Website Owner
Currently, Our website files are placed in Public Html folder from where website is accessed. But Now i want to place all my website files in root directory ? please guide me how to do that?
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
16,488
2,605
363
cPanel Access Level
Root Administrator
Hey there! I wrote an article a while back about how to properly change the document root for a cPanel user account. You can find that here: