• GoDaddy Community
  • Websites + Marketing | Website Builders
  • Websites + Marketing | Website Builders

    cancel
    Showing results for 
    Show  only  | Search instead for 
    Did you mean: 
    Helper I

    Creating 404 page for each site hosted on Deluxe Hosting plan

    I have deluxe hosting plan, and multiple domains using it.

     

    I wish to create specific 404 pages for each domain, but I can only get the 404 working on the main domain.

     

    Every other domain gets a 500 internal error despite having set up specific pages using the 'Error Pages' section in the cPanel.

     

    Any tips?

    5 REPLIES 5
    Advocate V Advocate V
    Advocate V

    Have you tried using an .htaccess in the root folder of each domain?

     

    Something like 

    ErrorDocument 404 /404.html
    Keep on Coding!
    Mark Cicchetti - There are 10 kinds of people... those who understand binary and those who don't.

    Yeah I have!

     

    Sorry, should have mentioned it in the original post 

    Can you post what's in the main domain's .htaccess and what you've tried for the addon domains?

    Keep on Coding!
    Mark Cicchetti - There are 10 kinds of people... those who understand binary and those who don't.


    @D3 wrote:

    Can you post what's in the main domain's .htaccess and what you've tried for the addon domains?


    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress

    Above is the main domain htaccess (default WordPress)

     

    Below is the addon domain htaccess

    ErrorDocument 404 	/404.html

     

    This is all right on.  Have you tried removing the references to error pages in cPanel and just rely on the .htaccess?  If that doesn't work, you've done everything right.  Time for tech support.

    Keep on Coding!
    Mark Cicchetti - There are 10 kinds of people... those who understand binary and those who don't.