Results 1 to 9 of 9

Hybrid View

  1. #1

    Default Custom website not running in WHM/cPanel in a VPS

    My websites are hosted on different VPS in different companies and different WHMs. One strange thing is happening that one of my custom websites is working on VPS1 and WHM/cPanel but isn't running on VPS2 and WHM/cPanel. I think it's happening because there is difference in configurations of different companies or PHP/MySQL isn't compatible witn the custom website on VPS2. What should I check in WHM or suggestions to fix the problem?

  2. #2


    How did you know it couldn't run? What are the errors you get?

  3. #3


    The web pages are showing the error "an error occurred while processing this directive". After research on Google for this error, I found the suggestions to chane the folder/file permissions in the public_html and so I chmod 755 for all files and folders in public_html. It immediately redirects a my search file with blank page. I am searching for this file and so I think the custom codes aren't compatible with server configs on VPS2.

  4. #4


    Try using the permissions below -

    owner should be 'accountname' group 'nobody'

    The public_html folder should always have 0750 permissions.
    All folders inside the public_html folder should have 0755 permissions.
    All files inside the public_html folder should have 0755 or 0644 permissions.

  5. #5


    VPS2 should also be able to run your website regardless. You said the public_html folder is 755 could you ensure the files inside also have the right permissions.

  6. #6


    I think it isn't the problem on setting up permissions for files or folders because on VPS1, I haven't set anything for files/folders on VPS2 but it ran.
    I installed WHM/cPanel and left default setting for VPS2 while my hosting provider has installed WHM/cPanel on my VPS1 for me and they sent me the account but only with some features.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts