Skip to main content

move main domain into separate folder

Comments

2 comments

  • quietFinn
    If you have root access you can change the root folder of the primary domain in: /var/cpanel/userdata/$username/$domain.com and then run this to rebuild the Apache configuration: /scripts/rebuildhttpdconf
    0
  • cPanelMichael
    Hello :) This will require an edit to the cPanel userdata file for the domain name, as indicated the previous post. There is another post on this at: DocumentRoot Value In Httpd.conf Thank you.
    0

Please sign in to leave a comment.