Skip to main content

cPanel on AWS Change the root directory?

Comments

4 comments

  • shrawaaan
    The above is true for domains (accounts) which are transferred from other cpanel account
    0
  • cPanelMichael
    Hello @shrawaaan, Can you run the following commands on the affected system and let us know the output? cat /etc/redhat-release cat /usr/local/cpanel/version
    Also, can you verify if the websites remain inaccessible upon restarting Apache using the /scripts/restartsrv_httpd command? Thank you.
    0
  • shrawaaan
    CentOS Linux release 7.5.1804 (Core) 11.68.0.29 The problem is only those account which has been transferred. The one I create inside the cpanel is working fine Yes, I restarted the httpd also and the site is still redirecting to /cgi-sys/defaultwebpage.cgi
    0
  • cPanelMichael
    Hello @shrawaaan, The default document root of the primary domain name associated with new accounts or accounts transferred from another server is: /home/$username/public_html/ Can you let us know the output from the following command for one of the accounts that you transferred over? grep documentroot /var/cpanel/userdata/$username/$domain.com
    Ensure to replace the actual username in the output with an example. Thank you.
    0

Please sign in to leave a comment.