Change root directory of main domain?

Davzarek

Registered
Mar 18, 2019
1
0
1
Sweden
cPanel Access Level
Root Administrator
Changeing the primary domains root folder is good as it is a huge security risk for the other domains under that folder.

That www folder structure is completely wrong.
It may grant cross access between sites.
This should have been fixed 10 years ago.
 

cPanelLauren

Forums Analyst II
Staff member
Nov 14, 2017
8,110
659
263
Houston
cPanel Access Level
DataCenter Provider
Hi @Davzarek

Thanks for the feedback. When you note
That www folder structure is completely wrong.
It may grant cross access between sites.
Can you elaborate? Anything under the user, in this case, would be subject to this regardless of the directory structure. If possible and in order to fully understand and address your concern please provide a step-by-step example.


Thanks!