Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

All subdomains on the server displaying 403

Discussion in 'General Discussion' started by Nishant80, Aug 3, 2012.

  1. Nishant80

    Nishant80 Well-Known Member

    Joined:
    May 7, 2012
    Messages:
    64
    Likes Received:
    0
    Trophy Points:
    56
    cPanel Access Level:
    Root Administrator
    Hello,
    We have been facing this issue since a few hours now. Everything was working fine, all of a sudden a lot of domains and almost every subdomain is displaying 403 forbidden while the clients try to open them. What should I be checking here?
     
  2. Eric

    Eric Administrator
    Staff Member

    Joined:
    Nov 25, 2007
    Messages:
    751
    Likes Received:
    11
    Trophy Points:
    143
    Location:
    Texas
    cPanel Access Level:
    Root Administrator
    Howdy,

    The first thing would be the error_log for apache. I would

    your apache log and wait for the issue to occur. Or grab on to the file when problems happen.

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,608
    Likes Received:
    32
    Trophy Points:
    238
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Upon seeing the error, it's probably going to be ownership or permissions. If a bunch of domains are suddenly showing permissions errors either a) the PHP handler was changed to something not compatible with your setup, b) someone changed ownership or file permissions on a slew of directories within /home

    The first is easy to check in WHM > Apache Configuration > PHP and SuExec Configuration area.

    The second would need to be checked in root SSH. Select one specific account to check and check the folders at each level:

    Code:
    ls -ld /home && ls -ld /home/user && ls -ld /home/user/public_html
    Above please replace user with the cPanel username.

    The /home partition should be owned by root:root, while /home/user should be owned by user:user and /home/user/public_html should be owned by user:nobody. The contents of public_html should be owned by user:user.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice