Knowledgebase

KnowledgebaseCloud/VPSCloud HostingFile Management
Back to File Management

How To Create Custom Error Pages For Addon Domains


This article is for cPanel Accounts. Determine where your account is with this guide.

Addon Domains and subdomains are pointed to sub-folders of your hosting account and can have their error pages. Create error pages you’d like and upload them to the appropriate folders:

public_html/domain1/error404.html
public_html/domain2/error404.html
public_html/subdomain/error404.html

Now you have to direct error requests to these pages.  You can do this by creating .htaccess text files and placing them in the addon/subdomain directories with the following directive:

ErrorDocument 404 /error404.html


Related Articles

Am I Responsible For Monitoring My Bandwidth Usage
Can I Add My Own CGI Scripts
Can I Point My Primary Domain To A Sub-folder
Can I Reset My Website Files
Can I Use A .htpasswd File In My Account

Can’t Find what you need?

No worries, Our experts are here to help.