Control Web Panel

WebPanel => Installation => Topic started by: Anava on August 03, 2019, 04:26:09 PM

Title: Why /home/user/public_html main domain path is the path for others domains?
Post by: Anava on August 03, 2019, 04:26:09 PM
Why /home/user/public_html/ is the path for others  domains? does is not a issue ? does is not better to use /home/user/domain1.tdl/public_html
/home/user/domain2.tdl/public_html
/home/user/domain3.tdl/public_html

because you could delete folders accidentally with the path /home/user/public_html/ I think is a risk too, for example cyberpanel use these paths above

Title: Re: Why /home/user/public_html main domain path is the path for others domains?
Post by: iraqiboy90 on December 19, 2021, 04:08:43 PM
im wondering about this too. Why is it possible to put domain folders outside of Public_html folder? Also, why cant we define a subfolder within public_html for the main domain name when creating the user?
Title: Re: Why /home/user/public_html main domain path is the path for others domains?
Post by: Igor S. on December 23, 2021, 10:15:25 AM
You can set any folder you want when you create a domain

> you could delete folders accidentally with the path /home/user/public_html/ I think is a risk too

Trust me, people can delete any data from any folder. The risk is users hands xD