dottedquad

Registered
Apr 8, 2019
4
0
1
Arizona
cPanel Access Level
Root Administrator
I installed laravel on one of my domains in cpanel. Laravels docs recommend that I change the webroot directory to the "public" directory which is located inside of the framework main directory.

How do I change the webroot directory from public_html to public for a specific domain?
 

GOT

Get Proactive!
PartnerNOC
Apr 8, 2003
1,754
315
363
Chesapeake, VA
cPanel Access Level
DataCenter Provider
It might actually be easier for you to symlink public to public_html.

However, this can be done, check this out:

interserver.net/tips/kb/change-primary-domain-document-root-cpanelwhm/
 
Last edited by a moderator:

dottedquad

Registered
Apr 8, 2019
4
0
1
Arizona
cPanel Access Level
Root Administrator
I canceled my license and went back to the server control panel that I was using prior to trying cpanel. There simply isn't enough flexibility. Cpanel has my server locked down tight. However, this isn't necessarily a bad thing, but for me, I need to be able to change settings without going through extra steps.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,229
463
Hello @dottedquad,

Feel free to let us know if you need any assistance should you decide to give it another shot in the future. I'm happy to help walk you through any configuration settings or provide you with the steps required to make a specific configuration change.

Thank you.