:: What’s is cPanel
cPanel is a Unix based web hosting control panel that provides a graphical interface and automation tools designed to simplify the process of hosting a web site.
:: How to Change Main Domain DocumentRoot in cPanel
+ Change documentroot
vi /var/cpanel/userdata/USERNAME/DOMAINNAME.TLD
Replace USERNAME and DOMAINNAME.TLD with your info.
Change on this line:
documentroot: /home/USERNAME/public_html
+ Rebuild apache.conf and restarting Apache
/scripts/rebuildhttpdconf /etc/init.d/httpd restart
One Reply to “cPanel : Change Main Domain…”