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!

err404.shtml Not Work for Add On Domains?

Discussion in 'General Discussion' started by netmation, Sep 27, 2004.

  1. netmation

    netmation Member

    Sep 23, 2004
    Likes Received:
    Trophy Points:
    New to CPanel. I setup the err*.shtml pages and they all work for the primary domain in an account. But it does not work for the ADD ON DOMAINS I create in the account. How can I configure it so that all domains will utilize the err files? Can I even have custom error files for some of the ADD ON DOMAINS within an account? Thanks.
  2. linux-image

    linux-image Well-Known Member

    Jun 8, 2004
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    addon domain = domain parked on a subdomain.

    suppose your domain is with username abc; and your add-on domain is what you do is park on

    Hence the documentroot of will be /home/abc/public_html/xyz/

    and that of is /home/abc/public_html/

    so putting an error document at /home/abc/public_html/ and calling it up from will never give it access; since has permission to access files inside /home/abc/public_html/xyz/ only.

    Solution: Put the error documents inside /home/abc/public_html/xyz/ and then reset the proper paths for the error documents accordingly and this shld work.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

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