cPanel & WHM Version 94 has been released, and brings a slew of great updates. Take a look at what is included, and then upgrade today!

Support for changing user public_html folder by interface

RAMON RODRIGUES PEGO shared this idea 16 months ago
Open Discussion

As a System Administrator, I would like a way to simplify changing the default root folder for users on websites using frameworks like Laravel in order to simplify the setup of new sites for users who don’t know the scripts to manually configure their servers to use a different website root folder.

==========

Currently by default, every user created, the website root folder is

user/public_html


And for those who host websites using frameworks like Laravel this is incompatible since it uses public only.


For this to be changed it must be run some commands to make the change, which is annoying, and difficult enough for new users who do not know these scripts.


When creating subdomains this problem continues, and worse because of a false solution, since in the subdomain option you can edit the default folder, but regardless of any changes that make the path through the interface returns at the end to 'public_html'

You must use the same scripts to make such changes to subdomains as well.


as you can see below


Editing the subdomain test

4a8079dda3073e098b28a00bbcbfa851

Switching to public

0a776adb1a817a96c0786839f3e3a621

In the end is public_html/public/test

99259f1522e157b5f946fdd1122ad3fc

Comments (1)

photo
2

Around half of the accounts I manage use Laravel, we just create a symlink of public_html to public. 917db2adbf4ee8a60021affeb3f2f8b1

photo
1

Its a good one too, i liked

But the idea around of this feature, it's a simplest way

in comparing your solution to what i said using scripts to change the folder and SSL, your solution it's much more simple

photo
Leave a Comment
 
Attach a file